VS 2013 - 质谱建设问题 [英] VS 2013 - MS Build Issues

查看:129
本文介绍了VS 2013 - 质谱建设问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从VS2010升级到VS2013对我们的项目。

I recently upgraded from VS2010 to VS2013 on our project.

当试图运行我们的网络部署我现在收到此错误:

When trying to run our web deploy I now receive this error:

C:\\ G□\\ ectc.proj(部署目标)(1) - >C:\\ G□\\来源\\网络\\ Web.csproj(ResolveReferences; _CopyWebApplicatio N个目标)(14:18) - ç :一个\\ g \\来源\\网络\\ Web.csproj:错误MSB4057:目标_Cop​​yWeb应用程序并不在项目中存在

"C:\G\ectc.proj" (Deploy target) (1) -> "C:\G\Source\Web\Web.csproj (ResolveReferences;_CopyWebApplicatio n target) (14:18) -> C:\g\Source\Web\Web.csproj : error MSB4057: The target "_CopyWeb Application" does not exist in the project.

这是奇怪的,如果我在升级之前签出code和运行相同版本的命令是:

It's strange, If i checkout the code before the upgrade and run the same build command which is:

MSBuild的ctc.proj /吨:部署

msbuild ctc.proj /t:Deploy

这工作的罚款,但如果我运行在2013 VS code碱基该命令犯规。

It work's fine, But doesnt if i run the that command on the VS 2013 code base.

感谢

推荐答案

尝试从2010环境pre-处理ctc.proj和2013环境,以确定哪些目标文件丢失,或者什么存在的在2013年部署并未能解决含CopyWebApplication目标文件。

Try pre-processing ctc.proj from the 2010 environment and the 2013 environment to determine which target files are missing, or what's occuring in the 2013 deployment and failing to resolve the targets file containing CopyWebApplication.

在2013年的环境下使用:

In the 2013 environment use:

msbuild ctc.proj /pp >2013.txt

在2010年的环境下使用:

In the 2010 environment use:

msbuild ctc.proj /pp >2013.txt

我猜它的使用含CopyWebApplications目标不正确的路径。

I'm guessing it's using an incorrect path to the target containing CopyWebApplications.

这篇关于VS 2013 - 质谱建设问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆