1>------ 已启动生成: 项目: libtiff, 配置: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(338,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(338,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1> libtiff.vcxproj -> d:\temp\3rdparty\libtiff\..\..\libs\Win32\Debug\libtiff.lib
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(3491,5): error MSB3030: 无法复制文件“d:\temp\libs\Win32\Debug\zlib.winmd”,原因是找不到该文件。
========== 生成: 成功 0 个,失败 1 个,最新 1 个,跳过 0 个 ==========
I just solved this by setting "Project -> Properties -> Framework and References -> "Particular reference" -> Copy local " to false, but my static lib' s just pure c++ code without any need of cx winmd description.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(338,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(338,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1> libtiff.vcxproj -> d:\temp\3rdparty\libtiff\..\..\libs\Win32\Debug\libtiff.lib
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(3491,5): error MSB3030: 无法复制文件“d:\temp\libs\Win32\Debug\zlib.winmd”,原因是找不到该文件。
========== 生成: 成功 0 个,失败 1 个,最新 1 个,跳过 0 个 ==========
解决方案如下:
http://social.msdn.microsoft.com/Forums/zh-CN/toolsforwinapps/thread/3c7434fc-7900-4909-968f-91161168d06aI just solved this by setting "Project -> Properties -> Framework and References -> "Particular reference" -> Copy local " to false, but my static lib' s just pure c++ code without any need of cx winmd description.