TestCase.csproj 5.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.2.1.1\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{58A208AA-DCE0-48AE-AC3D-0CBA0EFEB8D7}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>TestCase</RootNamespace>
  12. <AssemblyName>Test</AssemblyName>
  13. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  16. <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
  17. <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
  18. <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
  19. <IsCodedUITest>False</IsCodedUITest>
  20. <TestProjectType>UnitTest</TestProjectType>
  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. <PropertyGroup>
  42. <StartupObject />
  43. </PropertyGroup>
  44. <PropertyGroup>
  45. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  46. </PropertyGroup>
  47. <ItemGroup>
  48. <Reference Include="Microsoft.CSharp" />
  49. <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  50. <HintPath>..\packages\MSTest.TestFramework.2.1.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
  51. </Reference>
  52. <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  53. <HintPath>..\packages\MSTest.TestFramework.2.1.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
  54. </Reference>
  55. <Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
  56. <SpecificVersion>False</SpecificVersion>
  57. <HintPath>..\..\packages\Newtonsoft.Json.dll</HintPath>
  58. </Reference>
  59. <Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
  60. <HintPath>..\packages\NLog.4.7.6\lib\net45\NLog.dll</HintPath>
  61. </Reference>
  62. <Reference Include="System" />
  63. <Reference Include="System.Configuration" />
  64. <Reference Include="System.Core" />
  65. <Reference Include="System.Data" />
  66. <Reference Include="System.IO.Compression" />
  67. <Reference Include="System.Runtime.Serialization" />
  68. <Reference Include="System.ServiceModel" />
  69. <Reference Include="System.Transactions" />
  70. <Reference Include="System.Xml" />
  71. <Reference Include="Winista.HtmlParser, Version=1.8.0.0, Culture=neutral">
  72. <HintPath>..\packages\Winista.HtmlParser.1.8.0\lib\Winista.HtmlParser.dll</HintPath>
  73. </Reference>
  74. </ItemGroup>
  75. <ItemGroup>
  76. <Compile Include="Class1.cs" />
  77. <Compile Include="G.cs" />
  78. <Compile Include="UnitTest1.cs" />
  79. <Compile Include="Properties\AssemblyInfo.cs" />
  80. </ItemGroup>
  81. <ItemGroup>
  82. <Content Include="NLog.config">
  83. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  84. </Content>
  85. <None Include="packages.config" />
  86. </ItemGroup>
  87. <ItemGroup />
  88. <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
  89. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  90. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  91. <PropertyGroup>
  92. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  93. </PropertyGroup>
  94. <Error Condition="!Exists('..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.props'))" />
  95. <Error Condition="!Exists('..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.targets'))" />
  96. </Target>
  97. <Import Project="..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.2.1.1\build\net45\MSTest.TestAdapter.targets')" />
  98. </Project>