Silverlight项目编译遇到一诡异问题

今天遇到一奇怪的问题,我往解决方案中添加了一个现有的SL项目,然后可以正常编译,一切OK,然而当其他人update代码后,却无法编译,错误信息为:

The OutputPath property is not set for project 'Chrome.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x86'. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform

从来没碰到过的情况,看起来是编译设置有问题,然而我们尝试了各种编译配置组合依然没有效果。甚至单独打开项目是可以成功编译,然而一加入解决方案就不行了。最后尝试直接修改csproj文件,将所有非默认的PropertyGroup节(就是带有x86或者x64平台的)都删掉,居然就可以编译了。是bug吗?目前还不清楚。

posted on 2010-07-02 23:39  Gildor Wang  阅读(583)  评论(0编辑  收藏  举报

导航