|
|
@@ -0,0 +1,118 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
+ <PropertyGroup>
|
|
|
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
+ <ProjectGuid>{93FB20CF-827A-4CED-A273-90117EB7192F}</ProjectGuid>
|
|
|
+ <OutputType>Library</OutputType>
|
|
|
+ <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
+ <RootNamespace>MongoDBTest</RootNamespace>
|
|
|
+ <AssemblyName>MongoDBTest</AssemblyName>
|
|
|
+ <TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
|
|
|
+ <FileAlignment>512</FileAlignment>
|
|
|
+ <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
|
+ <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
|
|
+ <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
|
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
|
|
|
+ <IsCodedUITest>False</IsCodedUITest>
|
|
|
+ <TestProjectType>UnitTest</TestProjectType>
|
|
|
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
|
|
|
+ <RestorePackages>true</RestorePackages>
|
|
|
+ <TargetFrameworkProfile />
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
+ <DebugSymbols>true</DebugSymbols>
|
|
|
+ <DebugType>full</DebugType>
|
|
|
+ <Optimize>false</Optimize>
|
|
|
+ <OutputPath>..\..\Bin\Debug\</OutputPath>
|
|
|
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
+ <WarningLevel>4</WarningLevel>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
+ <DebugType>pdbonly</DebugType>
|
|
|
+ <Optimize>true</Optimize>
|
|
|
+ <OutputPath>..\..\Bin\Release\</OutputPath>
|
|
|
+ <DefineConstants>TRACE</DefineConstants>
|
|
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
+ <WarningLevel>4</WarningLevel>
|
|
|
+ </PropertyGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="MongoDB.Bson">
|
|
|
+ <HintPath>..\..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Bson.dll</HintPath>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="MongoDB.Driver">
|
|
|
+ <HintPath>..\..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Driver.dll</HintPath>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="System" />
|
|
|
+ </ItemGroup>
|
|
|
+ <Choose>
|
|
|
+ <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
|
|
|
+ </ItemGroup>
|
|
|
+ </When>
|
|
|
+ <Otherwise>
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" />
|
|
|
+ </ItemGroup>
|
|
|
+ </Otherwise>
|
|
|
+ </Choose>
|
|
|
+ <ItemGroup>
|
|
|
+ <Compile Include="MongoDBTest.cs" />
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <None Include="packages.config" />
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <ProjectReference Include="..\..\Platform\Common\Common.csproj">
|
|
|
+ <Project>{19F8F043-1F99-4550-99DF-DEA5C7D77E55}</Project>
|
|
|
+ <Name>Common</Name>
|
|
|
+ </ProjectReference>
|
|
|
+ <ProjectReference Include="..\Controller\Controller.csproj">
|
|
|
+ <Project>{e69c1f22-e004-4d69-8667-787bd243454b}</Project>
|
|
|
+ <Name>Controller</Name>
|
|
|
+ </ProjectReference>
|
|
|
+ <ProjectReference Include="..\Model\Model.csproj">
|
|
|
+ <Project>{0fa529d1-d0a9-4a8e-90f5-117ce80f2ede}</Project>
|
|
|
+ <Name>Model</Name>
|
|
|
+ </ProjectReference>
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Folder Include="Properties\" />
|
|
|
+ </ItemGroup>
|
|
|
+ <Choose>
|
|
|
+ <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ </ItemGroup>
|
|
|
+ </When>
|
|
|
+ </Choose>
|
|
|
+ <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
|
|
|
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
+ <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
|
|
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
|
+ <PropertyGroup>
|
|
|
+ <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
|
+ </PropertyGroup>
|
|
|
+ <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
|
|
|
+ </Target>
|
|
|
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
|
+ Other similar extension points exist, see Microsoft.Common.targets.
|
|
|
+ <Target Name="BeforeBuild">
|
|
|
+ </Target>
|
|
|
+ <Target Name="AfterBuild">
|
|
|
+ </Target>
|
|
|
+ -->
|
|
|
+</Project>
|