|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props" Condition="Exists('packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props')" /> |
3 | 4 | <PropertyGroup> |
4 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
5 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
16 | 17 | <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath> |
17 | 18 | <IsCodedUITest>False</IsCodedUITest> |
18 | 19 | <TestProjectType>UnitTest</TestProjectType> |
| 20 | + <NuGetPackageImportStamp> |
| 21 | + </NuGetPackageImportStamp> |
19 | 22 | </PropertyGroup> |
20 | 23 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
21 | 24 | <DebugSymbols>true</DebugSymbols> |
|
42 | 45 | <Reference Include="Castle.Core"> |
43 | 46 | <HintPath>packages\Castle.Core.4.0.0-beta002\lib\net45\Castle.Core.dll</HintPath> |
44 | 47 | </Reference> |
45 | | - <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework"> |
46 | | - <HintPath>packages\MSTest.TestFramework.1.0.6-preview\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath> |
| 48 | + <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 49 | + <HintPath>packages\MSTest.TestFramework.1.2.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath> |
| 50 | + <Private>True</Private> |
47 | 51 | </Reference> |
48 | | - <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions"> |
49 | | - <HintPath>packages\MSTest.TestFramework.1.0.6-preview\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath> |
| 52 | + <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 53 | + <HintPath>packages\MSTest.TestFramework.1.2.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath> |
| 54 | + <Private>True</Private> |
50 | 55 | </Reference> |
51 | 56 | <Reference Include="Newtonsoft.Json"> |
52 | 57 | <HintPath>packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll</HintPath> |
|
100 | 105 | </Choose> |
101 | 106 | <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
102 | 107 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 108 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 109 | + <PropertyGroup> |
| 110 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 111 | + </PropertyGroup> |
| 112 | + <Error Condition="!Exists('packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props'))" /> |
| 113 | + <Error Condition="!Exists('packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets'))" /> |
| 114 | + </Target> |
| 115 | + <Import Project="packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets" Condition="Exists('packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets')" /> |
103 | 116 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
104 | 117 | Other similar extension points exist, see Microsoft.Common.targets. |
105 | 118 | <Target Name="BeforeBuild"> |
|
0 commit comments