1
- <?xml version =" 1.0" encoding =" utf-8" ?>
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion =" 4.0" >
3
+ <Import Project =" ..\..\packages\NUnit.3.12.0\build\NUnit.props" Condition =" Exists('..\..\packages\NUnit.3.12.0\build\NUnit.props')" />
3
4
<PropertyGroup >
4
5
<Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
6
<Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
17
18
<LangVersion >6</LangVersion >
18
19
<RestorePackages >true</RestorePackages >
19
20
<ErrorReport >prompt</ErrorReport >
21
+ <NuGetPackageImportStamp >
22
+ </NuGetPackageImportStamp >
20
23
</PropertyGroup >
21
24
<PropertyGroup Condition =" '$(Platform)' == 'x86'" >
22
25
<PlatformTarget >x86</PlatformTarget >
70
73
</PropertyGroup >
71
74
<ItemGroup >
72
75
<Reference Include =" Microsoft.CSharp" />
73
- <Reference Include =" nunit.framework, Version=3.7.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL" >
74
- <HintPath >..\..\packages\NUnit.3.7.1\lib\net40\nunit.framework.dll</HintPath >
75
- </Reference >
76
76
<Reference Include =" System" />
77
77
</ItemGroup >
78
78
<ItemGroup >
126
126
<Copy SourceFiles =" $(TargetAssembly)" DestinationFolder =" $(PythonBuildDir)" />
127
127
<!-- Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /-->
128
128
</Target >
129
- </Project >
129
+ <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
130
+ <PropertyGroup >
131
+ <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 >
132
+ </PropertyGroup >
133
+ <Error Condition =" !Exists('..\..\packages\NUnit.3.12.0\build\NUnit.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\packages\NUnit.3.12.0\build\NUnit.props'))" />
134
+ </Target >
135
+ </Project >
0 commit comments