MongoDBTest.csproj 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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>{93FB20CF-827A-4CED-A273-90117EB7192F}</ProjectGuid>
  7. <OutputType>Library</OutputType>
  8. <AppDesignerFolder>Properties</AppDesignerFolder>
  9. <RootNamespace>MongoDBTest</RootNamespace>
  10. <AssemblyName>MongoDBTest</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. <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
  20. <RestorePackages>true</RestorePackages>
  21. <TargetFrameworkProfile />
  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="MongoDB.Bson">
  42. <HintPath>..\..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Bson.dll</HintPath>
  43. </Reference>
  44. <Reference Include="MongoDB.Driver">
  45. <HintPath>..\..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Driver.dll</HintPath>
  46. </Reference>
  47. <Reference Include="System" />
  48. </ItemGroup>
  49. <Choose>
  50. <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
  51. <ItemGroup>
  52. <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
  53. </ItemGroup>
  54. </When>
  55. <Otherwise>
  56. <ItemGroup>
  57. <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" />
  58. </ItemGroup>
  59. </Otherwise>
  60. </Choose>
  61. <ItemGroup>
  62. <Compile Include="MongoDBTest.cs" />
  63. </ItemGroup>
  64. <ItemGroup>
  65. <None Include="packages.config" />
  66. </ItemGroup>
  67. <ItemGroup>
  68. <ProjectReference Include="..\..\Platform\Common\Common.csproj">
  69. <Project>{19F8F043-1F99-4550-99DF-DEA5C7D77E55}</Project>
  70. <Name>Common</Name>
  71. </ProjectReference>
  72. <ProjectReference Include="..\Model\Model.csproj">
  73. <Project>{0fa529d1-d0a9-4a8e-90f5-117ce80f2ede}</Project>
  74. <Name>Model</Name>
  75. </ProjectReference>
  76. </ItemGroup>
  77. <ItemGroup>
  78. <Folder Include="Properties\" />
  79. </ItemGroup>
  80. <Choose>
  81. <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
  82. <ItemGroup>
  83. <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  84. <Private>False</Private>
  85. </Reference>
  86. <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  87. <Private>False</Private>
  88. </Reference>
  89. <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  90. <Private>False</Private>
  91. </Reference>
  92. <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  93. <Private>False</Private>
  94. </Reference>
  95. </ItemGroup>
  96. </When>
  97. </Choose>
  98. <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
  99. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  100. <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
  101. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  102. <PropertyGroup>
  103. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  104. </PropertyGroup>
  105. <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
  106. </Target>
  107. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  108. Other similar extension points exist, see Microsoft.Common.targets.
  109. <Target Name="BeforeBuild">
  110. </Target>
  111. <Target Name="AfterBuild">
  112. </Target>
  113. -->
  114. </Project>