unknown 9 роки тому
батько
коміт
11b73a1581

+ 2 - 2
ASYC/ASYC.csproj

@@ -79,9 +79,9 @@
       <Project>{9262f4c4-2d81-41ab-a444-57d3a21cea9b}</Project>
       <Name>Gets</Name>
     </ProjectReference>
-    <ProjectReference Include="..\Entity\Entity.csproj">
+    <ProjectReference Include="..\Entity\AVSORTER.csproj">
       <Project>{21d25a8a-680f-4c0a-815b-ae394905a64a}</Project>
-      <Name>Entity</Name>
+      <Name>AVSORTER</Name>
     </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

BIN
ASYC/obj/Debug/DesignTimeResolveAssemblyReferences.cache


+ 18 - 3
AVsorter.sln

@@ -1,13 +1,18 @@
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.31101.0
+MinimumVisualStudioVersion = 10.0.40219.1
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PicSo", "PicSo\PicSo.csproj", "{1A9F40ED-0402-4145-9140-0C153B989983}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Entity", "Entity\Entity.csproj", "{21D25A8A-680F-4C0A-815B-AE394905A64A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AVSORTER", "Entity\AVSORTER.csproj", "{21D25A8A-680F-4C0A-815B-AE394905A64A}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASYC", "ASYC\ASYC.csproj", "{4EAD9001-7E4B-4639-A3A4-C5DF4A09A943}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gets", "Arzon\Gets.csproj", "{9262F4C4-2D81-41AB-A444-57D3A21CEA9B}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.csproj", "{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -58,6 +63,16 @@ Global
 		{9262F4C4-2D81-41AB-A444-57D3A21CEA9B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
 		{9262F4C4-2D81-41AB-A444-57D3A21CEA9B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
 		{9262F4C4-2D81-41AB-A444-57D3A21CEA9B}.Release|x86.ActiveCfg = Release|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Release|Any CPU.Build.0 = Release|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+		{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}.Release|x86.ActiveCfg = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

+ 47 - 16
Arzon/AVEntertainments.cs

@@ -5,19 +5,16 @@ using System.Text;
 using System.Collections.Specialized;
 using HtmlAgilityPack;
 using AVSORTER;
+using System.IO;
 
 namespace Gets
 {
     public class AVEntertainments:IGetable
     {
         MyWebClient wc;
-        Uri uri;
         public AVEntertainments()
         {
-            const string url = "http://www.aventertainments.com/search_Products.aspx?languageID=2";
-            uri = new Uri(url);
             wc = new MyWebClient();
-            wc.DownloadData(uri);
         }
         public List<MovieBasic> Query(string keyword)
         {
@@ -104,17 +101,17 @@ namespace Gets
             string jiandu = string .Empty;
             string date = docc.DocumentNode.SelectNodes("//span[@class='redtitle']")[4].ParentNode.InnerText;
             string minutes = docc.DocumentNode.SelectNodes("//span[@class='redtitle']")[5].ParentNode.InnerText;
-            string f_code = movieBasic.Label;
+            string f_code = docc.DocumentNode.SelectNodes("//div[@class='top-title']")[0].InnerText.Replace("商品番号:","");
             string xilie = docc.DocumentNode.SelectNodes("//span[@class='redtitle']")[2].ParentNode.ChildNodes["a"].InnerText;
             string intro = docc.DocumentNode.SelectNodes("//div[@id='titlebox']/div[5]/p")[0].InnerText;
-            string coverImage = docc.DocumentNode.SelectNodes("//div[@class='top_sample']")[0].InnerHtml;
-            int st = coverImage.IndexOf("ImageUrl=") + 9;
-            int ed = coverImage.IndexOf(",", st);
-            coverImage = coverImage.Substring(st, ed - st);
-
-
-            //docc.DocumentNode.SelectNodes("//span[@class='redtitle']")[1].ParentNode.ChildNodes["a"].InnerText
-
+            string coverImage = docc.DocumentNode.SelectNodes("//div[@class='top_sample']")[0].InnerText.Trim();
+            var imageFlag = "image: '";
+            //找到imageFlag
+            var st_num = coverImage.IndexOf(imageFlag);
+            //找到imageFlag之后的引号
+            var ed_num = coverImage.IndexOf('\'', st_num +imageFlag.Length);
+            //截取刚才的两个找到的中间部分
+            coverImage = coverImage.Substring(st_num + imageFlag.Length, ed_num - st_num - imageFlag.Length);
 
             System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"\d{1,2}/\d{1,2}/\d{4}");
             date = r.Match(date).Value;
@@ -141,18 +138,52 @@ namespace Gets
 
         public bool GetCover(Movie mo)
         {
-            throw new NotImplementedException();
+            wc.ReferURL = mo.ItemURL;
+            FileInfo f = new FileInfo(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "AVE_Cover", mo.AVCode + ".jpg"));
+            try
+            {
+                if (!Directory.Exists(Path.GetDirectoryName(f.FullName)))
+                {
+                    Directory.CreateDirectory(Path.GetDirectoryName(f.FullName));
+                }
+                if (!File.Exists(f.FullName))
+                {
+                    wc.DownloadFile(mo.CoverURL, f.FullName);
+                }
+                else
+                {
+                    Console.WriteLine("已有封面 " + mo.Title);
+                }
+            }
+            catch (Exception err)
+            {
+                return false;
+            }
+            mo.CoverFile = f.FullName;
+            return true;
+        }
+
+        public string GetScreen_shotURL(Movie mo)
+        {
+            if (!string.IsNullOrEmpty(mo.CoverURL))
+            {
+                return mo.CoverURL.Replace("bigcover", "screen_shot");
+            }
+            else
+            {
+                return string.Empty;
+            }
         }
 
         public bool IsInitCompleted
         {
             get
             {
-                throw new NotImplementedException();
+                return true;
             }
             set
             {
-                throw new NotImplementedException();
+                return;
             }
         }
     }

+ 9 - 5
Arzon/Arzon.cs

@@ -41,24 +41,28 @@ namespace Gets
         {
             if ((e.UserState as string) == "init")
             {
-                this.IsInitCompleted = true;
-                if (this.InitCompleted!=null)
+                if (e.Error==null)
                 {
-                    this.InitCompleted(this, new EventArgs());
+                    this.IsInitCompleted = true;
+                    if (this.InitCompleted != null)
+                    {
+                        this.InitCompleted(this, new EventArgs());
+                    }
                 }
-
             }
         }
 
         public bool IsInitCompleted { get; set; }
 
+
+
         public List<MovieBasic> Query(string fcode)
         {
             Uri u = urlCombine(fcode);
             return PageParse(u);
         }
 
-        public List<MovieBasic> PageParse(Uri u)
+        private List<MovieBasic> PageParse(Uri u)
         {
             HtmlAgilityPack.HtmlDocument doc = new HtmlDocument();
             doc.LoadHtml(wc.GetHTML(u));

+ 2 - 2
Arzon/Gets.csproj

@@ -54,9 +54,9 @@
     <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\Entity\Entity.csproj">
+    <ProjectReference Include="..\Entity\AVSORTER.csproj">
       <Project>{21D25A8A-680F-4C0A-815B-AE394905A64A}</Project>
-      <Name>Entity</Name>
+      <Name>AVSORTER</Name>
     </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

+ 28 - 0
Arzon/HttpHelper.cs

@@ -304,6 +304,34 @@ namespace Gets
             }
         }
 
+        public int DownloadFile(string url ,string fileName,System.IO.FileMode fm,int bufferSize)
+        {
+            try
+            {
+                var s = GetStream(url, this.CookieContainer);
+                System.IO.FileStream fs = new System.IO.FileStream(fileName, fm);
+                byte[] buffer = new byte[bufferSize];
+                int count = s.Read(buffer, 0, buffer.Length);
+                while (count > 0)
+                {
+                    fs.Write(buffer, 0, count);
+                    count = s.Read(buffer, 0, buffer.Length);
+                }
+                s.Close();
+                fs.Close();
+                return 1;
+            }
+            catch (Exception err)
+            {
+                return 0;
+                throw new Exception(err.Message + "下载文件失败");
+            }
+        }
+        public int DownloadFile(string url, string fileName)
+        {
+            return DownloadFile(url, fileName, FileMode.Create, 1024);
+        }
+
         #endregion
     }
 

+ 4 - 1
Arzon/MywebClient.cs

@@ -6,7 +6,7 @@ using System.Net;
 
 namespace Gets
 {
-    
+
     public class MyWebClient : WebClient
     {
         public CookieContainer m_container = new CookieContainer();
@@ -35,6 +35,9 @@ namespace Gets
                 {
                     (webRequest as HttpWebRequest).Referer = ReferURL;
                 }
+                (webRequest as HttpWebRequest).ContentType = "application/x-www-form-urlencoded";
+                (webRequest as HttpWebRequest).ContentType = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-silverlight, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-silverlight-2-b1, */*";
+                (webRequest as HttpWebRequest).UserAgent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)";
             }
             return webRequest;
         }

+ 65 - 0
ConsoleApplication1/ConsoleApplication1.csproj

@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{EE0B273A-A39E-49C9-B7A2-0BB742A5DFCE}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>ConsoleApplication1</RootNamespace>
+    <AssemblyName>ConsoleApplication1</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Arzon\Gets.csproj">
+      <Project>{9262f4c4-2d81-41ab-a444-57d3a21cea9b}</Project>
+      <Name>Gets</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\Entity\AVSORTER.csproj">
+      <Project>{21d25a8a-680f-4c0a-815b-ae394905a64a}</Project>
+      <Name>AVSORTER</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 64 - 0
ConsoleApplication1/Program.cs

@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+using AVSORTER;
+using System.IO;
+
+namespace ConsoleApplication1
+{
+    class Program
+    {
+        static void Main(string[] args)
+        {
+            //NewMethod();
+            //NewMethod1();
+
+            Gets.HttpHelper help = new Gets.HttpHelper();
+            
+            
+            Console.ReadKey();
+        }
+
+        private static void NewMethod1()
+        {
+            Gets.AVEntertainments ave = new Gets.AVEntertainments();
+            var ms = ave.Query("CWP-50");
+            //http://www.aventertainments.com/search_Products.aspx?languageID=1&dept_id=29&keyword=cwp-50&searchby=keyword
+            Console.WriteLine(ms[0].ToString());
+            var mm = ave.GetMovie(ms[0]);
+            Console.WriteLine(mm.ToString());
+            string ss = ave.GetScreen_shotURL(mm);
+            System.Diagnostics.Process.Start(ss);
+
+            Gets.HttpHelper help = new Gets.HttpHelper();
+            var s = help.GetStream(ss, help.CookieContainer);
+            System.IO.FileStream fs = new System.IO.FileStream("a.jpg", System.IO.FileMode.CreateNew);
+
+            System.Net.WebClient wc = new System.Net.WebClient();
+            wc.DownloadFile(ss, mm.AVCode + ".jpg");
+        }
+
+        private static void NewMethod()
+        {
+            Gets.HttpHelper help = new Gets.HttpHelper();
+            var html = help.GetHtml("http://www.arzon.jp/index.php?action=adult_customer_agecheck&agecheck=1");
+
+
+
+
+            
+            Console.WriteLine("OK");
+
+
+            html = help.GetHtml("http://www.arzon.jp/itemlist.html?t=&m=all&s=&q=ipz");
+
+
+            //var html = help.GetHtml("http://www.arzon.jp/item_1290945.html");
+            System.IO.File.WriteAllText("result.txt", html);
+            System.Diagnostics.Process.Start("result.txt");
+            Console.ReadKey();
+        }
+    }
+}

+ 36 - 0
ConsoleApplication1/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("ConsoleApplication1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ConsoleApplication1")]
+[assembly: AssemblyCopyright("Copyright ©  2015")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。  如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("17d2bdd1-8c34-431f-a90f-5beeb2cdc254")]
+
+// 程序集的版本信息由下面四个值组成: 
+//
+//      主版本
+//      次版本 
+//      生成号
+//      修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”: 
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 0 - 0
Entity/Entity.csproj → Entity/AVSORTER.csproj


+ 2 - 2
PicSo/PicSo.csproj

@@ -127,9 +127,9 @@
       <Project>{9262F4C4-2D81-41AB-A444-57D3A21CEA9B}</Project>
       <Name>Gets</Name>
     </ProjectReference>
-    <ProjectReference Include="..\Entity\Entity.csproj">
+    <ProjectReference Include="..\Entity\AVSORTER.csproj">
       <Project>{21D25A8A-680F-4C0A-815B-AE394905A64A}</Project>
-      <Name>Entity</Name>
+      <Name>AVSORTER</Name>
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>

BIN
PicSo/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache


+ 36 - 0
UnitTestGets/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下特性集 
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("UnitTestGets")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("UnitTestGets")]
+[assembly: AssemblyCopyright("Copyright ©  2015")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型 
+// 对 COM 组件不可见。  如果需要从 COM 访问此程序集中的类型,
+// 请将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("b6762401-0c5f-456a-a02c-8c6e83cfa18d")]
+
+// 程序集的版本信息由以下四个值组成: 
+//
+//      主版本
+//      次版本
+//      生成号
+//      修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”: 
+// [assembly:  AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 16 - 0
UnitTestGets/UnitTest1.cs

@@ -0,0 +1,16 @@
+using System;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+
+namespace UnitTestGets
+{
+    [TestClass]
+    public class UnitTest1
+    {
+        [TestMethod]
+        public void TestMethod1()
+        {
+
+
+        }
+    }
+}

+ 92 - 0
UnitTestGets/UnitTestGets.csproj

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{9F5A7E15-25E6-425A-9443-A1B9508C35D4}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>UnitTestGets</RootNamespace>
+    <AssemblyName>UnitTestGets</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+    <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
+    <IsCodedUITest>False</IsCodedUITest>
+    <TestProjectType>UnitTest</TestProjectType>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+  </ItemGroup>
+  <Choose>
+    <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
+      </ItemGroup>
+    </When>
+    <Otherwise>
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" />
+      </ItemGroup>
+    </Otherwise>
+  </Choose>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="UnitTest1.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Arzon\Gets.csproj">
+      <Project>{9262f4c4-2d81-41ab-a444-57d3a21cea9b}</Project>
+      <Name>Gets</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Choose>
+    <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+      </ItemGroup>
+    </When>
+  </Choose>
+  <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>