|
@@ -0,0 +1,106 @@
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+ <Import Project="..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.props')" />
|
|
4
|
+ <PropertyGroup>
|
|
5
|
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
6
|
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
7
|
+ <ProjectGuid>{8D9E3AB8-D1FE-41F6-93CF-3ACC7616163D}</ProjectGuid>
|
|
8
|
+ <OutputType>Library</OutputType>
|
|
9
|
+ <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
10
|
+ <RootNamespace>GWSocketClientTests</RootNamespace>
|
|
11
|
+ <AssemblyName>GWSocketClientTests</AssemblyName>
|
|
12
|
+ <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
|
13
|
+ <FileAlignment>512</FileAlignment>
|
|
14
|
+ <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
15
|
+ <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
|
16
|
+ <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
17
|
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
|
|
18
|
+ <IsCodedUITest>False</IsCodedUITest>
|
|
19
|
+ <TestProjectType>UnitTest</TestProjectType>
|
|
20
|
+ <TargetFrameworkProfile />
|
|
21
|
+ <NuGetPackageImportStamp>
|
|
22
|
+ </NuGetPackageImportStamp>
|
|
23
|
+ </PropertyGroup>
|
|
24
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
25
|
+ <DebugSymbols>true</DebugSymbols>
|
|
26
|
+ <DebugType>full</DebugType>
|
|
27
|
+ <Optimize>false</Optimize>
|
|
28
|
+ <OutputPath>bin\Debug\</OutputPath>
|
|
29
|
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
30
|
+ <ErrorReport>prompt</ErrorReport>
|
|
31
|
+ <WarningLevel>4</WarningLevel>
|
|
32
|
+ </PropertyGroup>
|
|
33
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
34
|
+ <DebugType>pdbonly</DebugType>
|
|
35
|
+ <Optimize>true</Optimize>
|
|
36
|
+ <OutputPath>bin\Release\</OutputPath>
|
|
37
|
+ <DefineConstants>TRACE</DefineConstants>
|
|
38
|
+ <ErrorReport>prompt</ErrorReport>
|
|
39
|
+ <WarningLevel>4</WarningLevel>
|
|
40
|
+ </PropertyGroup>
|
|
41
|
+ <ItemGroup>
|
|
42
|
+ <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
43
|
+ <HintPath>..\packages\MSTest.TestFramework.1.1.11\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
|
|
44
|
+ </Reference>
|
|
45
|
+ <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
46
|
+ <HintPath>..\packages\MSTest.TestFramework.1.1.11\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
|
|
47
|
+ </Reference>
|
|
48
|
+ <Reference Include="System" />
|
|
49
|
+ </ItemGroup>
|
|
50
|
+ <Choose>
|
|
51
|
+ <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
|
|
52
|
+ <ItemGroup>
|
|
53
|
+ <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
|
|
54
|
+ </ItemGroup>
|
|
55
|
+ </When>
|
|
56
|
+ <Otherwise />
|
|
57
|
+ </Choose>
|
|
58
|
+ <ItemGroup>
|
|
59
|
+ <Compile Include="Properties\AssemblyInfo.cs" />
|
|
60
|
+ <Compile Include="util\UtilsTests.cs" />
|
|
61
|
+ </ItemGroup>
|
|
62
|
+ <ItemGroup>
|
|
63
|
+ <None Include="packages.config" />
|
|
64
|
+ </ItemGroup>
|
|
65
|
+ <ItemGroup>
|
|
66
|
+ <ProjectReference Include="..\GWSocketClient\GWSocketClient.csproj">
|
|
67
|
+ <Project>{1E7C256A-9CA5-4937-A5DD-7F281A2EBB21}</Project>
|
|
68
|
+ <Name>GWSocketClient</Name>
|
|
69
|
+ </ProjectReference>
|
|
70
|
+ </ItemGroup>
|
|
71
|
+ <Choose>
|
|
72
|
+ <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
|
|
73
|
+ <ItemGroup>
|
|
74
|
+ <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
75
|
+ <Private>False</Private>
|
|
76
|
+ </Reference>
|
|
77
|
+ <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
78
|
+ <Private>False</Private>
|
|
79
|
+ </Reference>
|
|
80
|
+ <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
81
|
+ <Private>False</Private>
|
|
82
|
+ </Reference>
|
|
83
|
+ <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
84
|
+ <Private>False</Private>
|
|
85
|
+ </Reference>
|
|
86
|
+ </ItemGroup>
|
|
87
|
+ </When>
|
|
88
|
+ </Choose>
|
|
89
|
+ <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
|
|
90
|
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
91
|
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
92
|
+ <PropertyGroup>
|
|
93
|
+ <ErrorText>此项目引用这台计算机上缺少的 NuGet 程序包。使用 NuGet 程序包还原可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
94
|
+ </PropertyGroup>
|
|
95
|
+ <Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.props'))" />
|
|
96
|
+ <Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.targets'))" />
|
|
97
|
+ </Target>
|
|
98
|
+ <Import Project="..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.targets')" />
|
|
99
|
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
100
|
+ Other similar extension points exist, see Microsoft.Common.targets.
|
|
101
|
+ <Target Name="BeforeBuild">
|
|
102
|
+ </Target>
|
|
103
|
+ <Target Name="AfterBuild">
|
|
104
|
+ </Target>
|
|
105
|
+ -->
|
|
106
|
+</Project>
|