|
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\NUnit3TestAdapter.3.9.0\build\net35\NUnit3TestAdapter.props" Condition="Exists('..\..\packages\NUnit3TestAdapter.3.9.0\build\net35\NUnit3TestAdapter.props')" /> |
3 | 4 | <PropertyGroup> |
4 | 5 | <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion> |
5 | 6 | <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion> |
|
42 | 43 | <StartupObject /> |
43 | 44 | </PropertyGroup> |
44 | 45 | <ItemGroup> |
45 | | - <Reference Include="nunit.core, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
46 | | - <HintPath>..\..\packages\NUnitTestAdapter.2.0.0\lib\nunit.core.dll</HintPath> |
47 | | - <Private>False</Private> |
48 | | - </Reference> |
49 | | - <Reference Include="nunit.core.interfaces, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
50 | | - <HintPath>..\..\packages\NUnitTestAdapter.2.0.0\lib\nunit.core.interfaces.dll</HintPath> |
51 | | - <Private>False</Private> |
52 | | - </Reference> |
53 | 46 | <Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
54 | 47 | <HintPath>..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> |
55 | 48 | <Private>True</Private> |
56 | 49 | </Reference> |
57 | | - <Reference Include="nunit.util, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
58 | | - <HintPath>..\..\packages\NUnitTestAdapter.2.0.0\lib\nunit.util.dll</HintPath> |
59 | | - <Private>False</Private> |
60 | | - </Reference> |
61 | | - <Reference Include="NUnit.VisualStudio.TestAdapter, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac, processorArchitecture=MSIL"> |
62 | | - <HintPath>..\..\packages\NUnitTestAdapter.2.0.0\lib\NUnit.VisualStudio.TestAdapter.dll</HintPath> |
63 | | - <Private>False</Private> |
64 | | - </Reference> |
65 | 50 | <Reference Include="System" /> |
66 | 51 | <Reference Include="System.Reactive.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=62aa029873c516b4, processorArchitecture=MSIL"> |
67 | 52 | <HintPath>..\..\packages\Rx-Core.2.2.5-custom\lib\net45\System.Reactive.Core.dll</HintPath> |
|
151 | 136 | </Choose> |
152 | 137 | <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
153 | 138 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 139 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 140 | + <PropertyGroup> |
| 141 | + <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> |
| 142 | + </PropertyGroup> |
| 143 | + <Error Condition="!Exists('..\..\packages\NUnit3TestAdapter.3.9.0\build\net35\NUnit3TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\NUnit3TestAdapter.3.9.0\build\net35\NUnit3TestAdapter.props'))" /> |
| 144 | + </Target> |
154 | 145 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
155 | 146 | Other similar extension points exist, see Microsoft.Common.targets. |
156 | 147 | <Target Name="BeforeBuild"> |
|
0 commit comments