VS2010总是重建解决方案吗? [英] VS2010 always rebuilds solution?

查看:92
本文介绍了VS2010总是重建解决方案吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含40个项目的解决方案.我最近将每个项目的输出路径重新配置为以下值:

I have a solution with 40 projects in it. I've recently reconfigured output path for each of these projects to this value:

.. \ Output

..\Output

在* .csproj文件中对每个构建配置进行了更改.

Change was made in *.csproj files for every build configuration.

此更改执行了预期的操作(将所有已编译的程序集收集到一个文件夹中),但是异常的副作用是-每次我按F5 Debug时,总是会重建部分(约40%)程序集.我已经对此进行了几次测试,而对项目本身没有任何更改.

This change did what was expected (gather all compiled assemblies into one folder) but unusual side effect is - every time I hit F5 Debug, portion of the (around 40%) assemblies always gets rebuilt. I have tested this several times without any changes to the projects themselves.

一旦我撤消了更改,构建的行为就会像以前一样.

Once I undid changes build behaved as before.

我需要解决此问题的帮助.

I need help resolving this issue.

推荐答案

此问题通过更改项目文件,清理解决方案,手动删除所有bin文件夹,重新启动Visual Studio并重建所有内容来解决.

This issue is solved by changing the project files, cleaning solution, deleting all bin folders by hand, restarting Visual studio and rebuilding everything.

这篇关于VS2010总是重建解决方案吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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