.targets文件

今天同事源码中的一个项目加载不了,跟服务器比较没有什么不同的地方。

帮他查看了下,发现错误信息为:

---------------------------
Microsoft Visual Studio
---------------------------
无法读取项目文件“PerLove.Common.csproj”。 E:\ZFF\Source_CN\Common\PerLove.Common.csproj(499,11): The imported project "E:\ZFF\Source_CN\Common\PerLove.Strings.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
---------------------------
确定   
---------------------------


结论:这是缺少.targets文件造成的。为了修正这个错误,只要在工程.csproj/vbproj文件中找到上面的字符串,把v10.0改成v9.0.就好了

 

posted @ 2013-04-07 13:40  xinyuyuanm  阅读(423)  评论(0编辑  收藏  举报