TNetTest.csproj 5.6 KB

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