开发者

Can I make 'Edit-and-continue' = true the default for all new web projects in Visual Studio?

开发者 https://www.devze.com 2023-03-10 13:50 出处:网络
When creating a new web project in Visual Studio 2010 I always forget to enable \'Edit and Continue\'until it\'s \"too late\". (i.e. until I am editing while debugging and wish I was able to continue)

When creating a new web project in Visual Studio 2010 I always forget to enable 'Edit and Continue' until it's "too late". (i.e. until I am editing while debugging and wish I was able to continue). So I would like "Edit & Continue" to be enabled by default.

The setting I'm referring to is under project properties, web tab, 'Debuggers' section. I've found that this setting isn't stored in the .csproj file, but in the开发者_如何学Python .user file for the project, in a node called <EnableENC>. It is 'False' by default, but I wish it was 'True'.

(This applies equally well to VS2008 and perhaps 2005, but I only need to solve it for VS2010)


Settings in the .user file can be copied over to the .csproj file, therefore copy the setting in to the template .csproj file and base a custom template on it (or edit the common one somewhere in the Program Files\Microsoft Visual Studio directory).

0

精彩评论

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

关注公众号