MongoDBTest.csproj 6.2 KB

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