|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" /> |
3 | 4 | <PropertyGroup> |
4 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
5 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
10 | 11 | <AppDesignerFolder>Properties</AppDesignerFolder> |
11 | 12 | <RootNamespace>ScreenGrid.Tests</RootNamespace> |
12 | 13 | <AssemblyName>ScreenGrid.Tests</AssemblyName> |
13 | | - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 14 | + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
14 | 15 | <FileAlignment>512</FileAlignment> |
15 | 16 | <TargetFrameworkProfile /> |
| 17 | + <NuGetPackageImportStamp> |
| 18 | + </NuGetPackageImportStamp> |
16 | 19 | </PropertyGroup> |
17 | 20 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
18 | 21 | <DebugSymbols>true</DebugSymbols> |
|
35 | 38 | <Prefer32Bit>false</Prefer32Bit> |
36 | 39 | </PropertyGroup> |
37 | 40 | <ItemGroup> |
38 | | - <Reference Include="nunit.framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
39 | | - <HintPath>..\packages\NUnit.3.9.0\lib\net45\nunit.framework.dll</HintPath> |
| 41 | + <Reference Include="nunit.framework, Version=3.10.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
| 42 | + <HintPath>..\packages\NUnit.3.10.1\lib\net40\nunit.framework.dll</HintPath> |
40 | 43 | </Reference> |
41 | 44 | <Reference Include="System" /> |
42 | 45 | <Reference Include="System.Core" /> |
|
76 | 79 | <None Include="packages.config" /> |
77 | 80 | </ItemGroup> |
78 | 81 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 82 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 83 | + <PropertyGroup> |
| 84 | + <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> |
| 85 | + </PropertyGroup> |
| 86 | + <Error Condition="!Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.10.1\build\NUnit.props'))" /> |
| 87 | + </Target> |
79 | 88 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
80 | 89 | Other similar extension points exist, see Microsoft.Common.targets. |
81 | 90 | <Target Name="BeforeBuild"> |
|
0 commit comments