|
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.13.2\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.13.2\build\NUnit.props')" /> |
3 | 4 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 5 | <PropertyGroup> |
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
11 | 12 | <AssemblyName>StackifyLib.log4net.Tests</AssemblyName> |
12 | 13 | <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
| 15 | + <NuGetPackageImportStamp> |
| 16 | + </NuGetPackageImportStamp> |
14 | 17 | </PropertyGroup> |
15 | 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
16 | 19 | <DebugSymbols>true</DebugSymbols> |
|
30 | 33 | <WarningLevel>4</WarningLevel> |
31 | 34 | </PropertyGroup> |
32 | 35 | <ItemGroup> |
33 | | - <Reference Include="log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL"> |
34 | | - <HintPath>..\packages\log4net.2.0.0\lib\net40-full\log4net.dll</HintPath> |
35 | | - <Private>True</Private> |
| 36 | + <Reference Include="log4net, Version=2.0.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL"> |
| 37 | + <HintPath>..\packages\log4net.2.0.11\lib\net45\log4net.dll</HintPath> |
36 | 38 | </Reference> |
37 | | - <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
38 | | - <HintPath>..\packages\Newtonsoft.Json.6.0.6\lib\net45\Newtonsoft.Json.dll</HintPath> |
39 | | - <Private>True</Private> |
| 39 | + <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| 40 | + <HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> |
40 | 41 | </Reference> |
41 | | - <Reference Include="nunit.framework, Version=3.0.5813.39031, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
42 | | - <HintPath>..\packages\NUnit.3.0.1\lib\net45\nunit.framework.dll</HintPath> |
43 | | - <Private>True</Private> |
| 42 | + <Reference Include="nunit.framework, Version=3.13.2.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
| 43 | + <HintPath>..\packages\NUnit.3.13.2\lib\net45\nunit.framework.dll</HintPath> |
44 | 44 | </Reference> |
45 | 45 | <Reference Include="System" /> |
| 46 | + <Reference Include="System.Configuration" /> |
46 | 47 | <Reference Include="System.Core" /> |
| 48 | + <Reference Include="System.Web" /> |
47 | 49 | <Reference Include="System.Xml.Linq" /> |
48 | 50 | <Reference Include="System.Data.DataSetExtensions" /> |
49 | 51 | <Reference Include="Microsoft.CSharp" /> |
|
69 | 71 | </ProjectReference> |
70 | 72 | </ItemGroup> |
71 | 73 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 74 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 75 | + <PropertyGroup> |
| 76 | + <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> |
| 77 | + </PropertyGroup> |
| 78 | + <Error Condition="!Exists('..\packages\NUnit.3.13.2\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.13.2\build\NUnit.props'))" /> |
| 79 | + </Target> |
72 | 80 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
73 | 81 | Other similar extension points exist, see Microsoft.Common.targets. |
74 | 82 | <Target Name="BeforeBuild"> |
|
0 commit comments