开发者

Avoid linking after each minor change in code

开发者 https://www.devze.com 2023-03-27 02:11 出处:网络
Lately I\'ve found the \"Edit and continue\" feature very useful. (How does \"Edit and continue\" work in Visual Studio?)

Lately I've found the "Edit and continue" feature very useful. (How does "Edit and continue" work in Visual Studio?) I won开发者_开发问答der if it was possible to do the same, but not necessarily during the execution.

The problem is that some minor changes are neccessary usually when there is some fatal error, but "Edit and Continue" doesn't work anymore since the debugging process is finished. Linking takes some time and it would be good to avoid it after each minor change in code. If the feature works during execution, why shouldn't it work when it's stopped?

(I'm working with Visual Studio 2008)

Any ideas?


You have a similar Enable Minimal Rebuild option that only relinks the modules actually changed.

See http://msdn.microsoft.com/en-us/library/kfz8ad09(v=VS.100).aspx

Like Edit and Continue it only works when the changes are minor, so occasionally you will have to do a full rebuild anyway.

0

精彩评论

暂无评论...
验证码 换一张
取 消