|
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\NUnit.3.11.0\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.11.0\build\NUnit.props')" /> |
3 | 4 | <PropertyGroup> |
4 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
5 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
17 | 18 | <IsCodedUITest>False</IsCodedUITest> |
18 | 19 | <TestProjectType>UnitTest</TestProjectType> |
19 | 20 | <TargetFrameworkProfile /> |
| 21 | + <NuGetPackageImportStamp> |
| 22 | + </NuGetPackageImportStamp> |
20 | 23 | </PropertyGroup> |
21 | 24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
22 | 25 | <DebugSymbols>true</DebugSymbols> |
|
50 | 53 | <HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> |
51 | 54 | <Private>True</Private> |
52 | 55 | </Reference> |
53 | | - <Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
54 | | - <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> |
55 | | - <Private>True</Private> |
| 56 | + <Reference Include="nunit.framework, Version=3.11.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
| 57 | + <HintPath>..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath> |
56 | 58 | </Reference> |
57 | 59 | <Reference Include="Sigil, Version=4.5.0.0, Culture=neutral, PublicKeyToken=2d06c3494341c8ab, processorArchitecture=MSIL"> |
58 | 60 | <HintPath>..\packages\Sigil.4.5.0\lib\net45\Sigil.dll</HintPath> |
|
119 | 121 | </Choose> |
120 | 122 | <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
121 | 123 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 124 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 125 | + <PropertyGroup> |
| 126 | + <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> |
| 127 | + </PropertyGroup> |
| 128 | + <Error Condition="!Exists('..\packages\NUnit.3.11.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.11.0\build\NUnit.props'))" /> |
| 129 | + </Target> |
122 | 130 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
123 | 131 | Other similar extension points exist, see Microsoft.Common.targets. |
124 | 132 | <Target Name="BeforeBuild"> |
|
0 commit comments