edit-and-continue

Is there a way to *completely* disable Edit and Continue?

白昼怎懂夜的黑 提交于 2019-12-21 08:14:46
问题 I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applications, which I greatly prefer; however, I do most of my coding making add-ins for Excel, which is 32 bit. The result is that even though I target 'AnyCPU', the VS host knows that it is running within a 32 bit process and, therefore, the source code is not locked while the code is running hosted in Visual Studio. I can

Is there a way to *completely* disable Edit and Continue?

◇◆丶佛笑我妖孽 提交于 2019-12-21 08:14:34
问题 I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applications, which I greatly prefer; however, I do most of my coding making add-ins for Excel, which is 32 bit. The result is that even though I target 'AnyCPU', the VS host knows that it is running within a 32 bit process and, therefore, the source code is not locked while the code is running hosted in Visual Studio. I can

Is there a way to *completely* disable Edit and Continue?

拜拜、爱过 提交于 2019-12-21 08:14:30
问题 I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applications, which I greatly prefer; however, I do most of my coding making add-ins for Excel, which is 32 bit. The result is that even though I target 'AnyCPU', the VS host knows that it is running within a 32 bit process and, therefore, the source code is not locked while the code is running hosted in Visual Studio. I can

Edit and Continue does not Work in VS 2010 / ASP.Net MVC 2

强颜欢笑 提交于 2019-12-19 05:17:22
问题 Although Enable Edit and Continue is checked on the Web tab of my ASP.Net MVC 2 project, I cannot in fact change the source code while running. For example, if I try to edit a controller while paused in the debugger, I cannot change the file (acts as if read only). I found a related post Edit and continue in ASP.NET web projects, however The answers seem to suggest I should be able to at least edit the code, then reload the page to see the result. I don't know what the distinction is between

Edit and Continue using a Local IIS

情到浓时终转凉″ 提交于 2019-12-18 12:27:37
问题 Is it possible to have the Edit and Continue option enabled on Visual Studio when debugging using Local IIS instead of IIS express? 回答1: Works in IIS 10.0 (Win 10): In Administrator command line run C:\Windows\System32\inetsrv>appcmd set apppool "DefaultAppPool" /+environmentVariables.add[@start,name='COMPLUS_ForceEnC',value='1'] (replace DefaultAppPool with app pool name you're using) This will add tag <environmentVariables> <add name="COMPLUS_ForceEnC" value="1" /> </environmentVariables>

Can't edit and continue when using Visual Studio 2010 on a 64 bit machine, app targets x86

孤街醉人 提交于 2019-12-17 22:18:59
问题 I'm having some problems with Edit and Continue when using Visual Studio 2010 on a Windows 7 64 bit machine. I've ensured the following Edit and Continue is enabled under Tools>Options>Debugging>Edit and Continue My solution platform is set to x86 My solution configuration is set to Debug All my projects are building for Debug and x86 For all projects under Projects>Properties>Build the Optimize code is unchecked When I hit a break point and try to edit I and confronted with the following

Visual studio - getting error “Metadata file 'XYZ' could not be found” after edit continue

一世执手 提交于 2019-12-17 10:25:55
问题 I have stumbled into an issue that is really annoying. When I debug my software, everything runs OK, but if I hit a breakpoint and edit the code, when I try to continue running I get an error: Metadata file 'XYZ' could not be found After looking around for a while, I found some a similar issues, but they were all regarding a build failure, which is not my case (this happens only after edit-continue). What I have tried so far: My code is compiling and running. I cleaned the solution and

Visual Studio 2015 Edit and Continue duplicates object fields

走远了吗. 提交于 2019-12-11 01:26:21
问题 I am experiencing weird issues during Visual Studio 2015 Community debugging a 32-bit C# application (C# 6, .NET 4.5.2) on Windows 8.1 x64. If I do a couple of Edit and Continue iterations (i.e. break execution, change something, continue), after a while I will get a weird NullReferenceException thrown for a field which cannot possibly be null. When I then hover over the this instance for the "offending" object, it turns out that there are multiple fields with the same name inside that object

Edit & Continue doesn't work

ぃ、小莉子 提交于 2019-12-10 03:14:20
问题 I'm trying to get managed Edit & Continue working (in Visual Studio 2015 v14.0.25425.01 update 3) and it's giving me the dreaded dialog, " Changes are not allowed in the following cases: " Attached to a process that does not support Edit and Continue on attach. I'm using IISExpress v10.0.14358.1000, on Windows 10.0.10586, x64. I have 'Use the 64 bit version of IIS express for web sites and project' checked in Tools->Options. (although, i also get the same error with 32-bit iisexpress) all my

Visual Studio 2013 Edit and Continue not working

╄→гoц情女王★ 提交于 2019-12-09 03:16:55
问题 With VS2013 Pro I am not able to use "Edit and Continue" when debugging an MFC program. I created a new MFC project to test. OS is Windows 7 64-bit and I'm running Visual Studio 2013 12.0.30110.00 Update1. Under Tools->Options->Debugging->Edit and Continue I have Enable Edit and Continue checked. I have unchecked it and checked it, but whenever I modify the code while debugging I get the following message: The source file has changed. It no longer matches the version of the file used to build