11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project DefaultTargets =" Build" ToolsVersion =" 14 .0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2+ <Project DefaultTargets =" Build" ToolsVersion =" 15 .0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <ItemGroup Label =" ProjectConfigurations" >
44 <ProjectConfiguration Include =" Debug|Win32" >
55 <Configuration >Debug</Configuration >
2222 <ProjectGuid >{CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}</ProjectGuid >
2323 <RootNamespace >libcups2</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25+ <WindowsTargetPlatformVersion >10.0.15063.0</WindowsTargetPlatformVersion >
2526 </PropertyGroup >
2627 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2728 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
2829 <ConfigurationType >DynamicLibrary</ConfigurationType >
29- <PlatformToolset >v140 </PlatformToolset >
30+ <PlatformToolset >v141 </PlatformToolset >
3031 <CharacterSet >MultiByte</CharacterSet >
3132 </PropertyGroup >
3233 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" Label =" Configuration" >
3334 <ConfigurationType >DynamicLibrary</ConfigurationType >
34- <PlatformToolset >v140 </PlatformToolset >
35+ <PlatformToolset >v141 </PlatformToolset >
3536 <CharacterSet >MultiByte</CharacterSet >
3637 </PropertyGroup >
3738 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
3839 <ConfigurationType >DynamicLibrary</ConfigurationType >
39- <PlatformToolset >v140 </PlatformToolset >
40+ <PlatformToolset >v141 </PlatformToolset >
4041 <CharacterSet >MultiByte</CharacterSet >
4142 </PropertyGroup >
4243 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
4344 <ConfigurationType >DynamicLibrary</ConfigurationType >
44- <PlatformToolset >v140 </PlatformToolset >
45+ <PlatformToolset >v141 </PlatformToolset >
4546 <CharacterSet >MultiByte</CharacterSet >
4647 </PropertyGroup >
4748 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -386,6 +387,7 @@ xcopy /I/Y "$(TargetPath)"
386387 </ItemGroup >
387388 <ItemGroup >
388389 <None Include =" ..\cups\libcups2.def" />
390+ <None Include =" packages.config" />
389391 </ItemGroup >
390392 <ItemGroup >
391393 <ClInclude Include =" ..\cups\adminutil.h" />
@@ -423,5 +425,12 @@ xcopy /I/Y "$(TargetPath)"
423425 </ItemGroup >
424426 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.targets" />
425427 <ImportGroup Label =" ExtensionTargets" >
428+ <Import Project =" packages\zlib128-vc140-static-32_64.1.2.8\build\native\zlib128-vc140-static-32_64.targets" Condition =" Exists('packages\zlib128-vc140-static-32_64.1.2.8\build\native\zlib128-vc140-static-32_64.targets')" />
426429 </ImportGroup >
430+ <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
431+ <PropertyGroup >
432+ <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 >
433+ </PropertyGroup >
434+ <Error Condition =" !Exists('packages\zlib128-vc140-static-32_64.1.2.8\build\native\zlib128-vc140-static-32_64.targets')" Text =" $([System.String]::Format('$(ErrorText)', 'packages\zlib128-vc140-static-32_64.1.2.8\build\native\zlib128-vc140-static-32_64.targets'))" />
435+ </Target >
427436</Project >
0 commit comments