如何编辑并继续Visual Studio 2008和ASP.Net MVC? [英] How to edit and continue in Visual Studio 2008 and ASP.Net MVC?

查看:162
本文介绍了如何编辑并继续Visual Studio 2008和ASP.Net MVC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让编辑并继续与Visual Studio 2008正在与一个ASP.Net MVC项目。我运行64位,因此,增加了问题。

I'm trying to get edit-and-continue working with Visual Studio 2008 with an ASP.Net MVC project. I'm running 64-bit, so that adds to the problem.

在配置管理器,我的积极解决方案平台是x86和所有的项目都瞄准调试86为好。

In Configuration Manager, my active solution platform is x86 and all the projects are targeting Debug x86 as well.

在项目属性我有启用编辑并继续入选。

In the project properties I have "Enable Edit and Continue" selected.

在工具 - >选项...-> Debugging->编辑并继续我的启用编辑并继续入选。

In Tools->Options...->Debugging->Edit and continue I have "Enable Edit and Continue" selected.

在工具 - >选项...-> Debugging->我已打破所有进程,当一个项目符已启用。

In Tools->Options...->Debugging->General I have "Break all processes when one project breaks" enabled.

当我尝试改变一些源$ C ​​$ C视图之外/ template'I得到的消息:修改并继续:不允许更改,而code上,或者如果选项打破所有进程,当一个项目打破'被dissabled。该选项可以在工具启用,选项,调试。

As soon as I try to change some source code outside of a view/template'I get the message: Edit and continue: Changes are not allowed while code is running or if the option 'Break all processes when one project breaks' is dissabled. The option can be enabled in Tools, Options, Debugging.

任何想法如何得到它的工作?

Any ideas how to get it to work?

推荐答案

你有启用优化检查? (高级编译选项),我不认为你可以有检查...

Do you have Enable Optimizations checked? (Advanced Compile Options), I don't think you can have that checked...

另外:
<一href=\"http://blogs.msdn.com/webdevelopertips/archive/2008/11/26/tip-29-did-you-know-how-to-enable-edit-and-continue-feature-for-web-application-projects.aspx\" rel=\"nofollow\">http://blogs.msdn.com/webdevelopertips/archive/2008/11/26/tip-29-did-you-know-how-to-enable-edit-and-continue-feature-for-web-application-projects.aspx

这篇关于如何编辑并继续Visual Studio 2008和ASP.Net MVC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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