I am targetting for x86, .NET 4.0 and have Edit and Continue ticked in
Tools/Options/debug.
Anything I'm missing?
-Jerry
What type of project? Note that E&C is not available for ASP.NET
projects, for example.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
I'm just playing with a simple windows form project in VB.
-Jerry
Playing with a simple VB Winforms app in VS 2010 here allows me to do simple
E & C here.
So, the next thing is to show us an example of the edit(s) you tried alon
with some contextual info.
-Jerry
I have a clue here. If I start a new project I can do E&C. If I convert any
VS2005 project than I can't do it. I don't know if that's a bug or not.
-Jerry
-Jerry
Excellent clue. I can reproduce your problem.
I researched existing bug reports against VS 2010, figuring it was already
reported, but I didn't find it. I submitted a bug report through my MS
Connect VS 2010 link.
I'll bookmark this thread and report back here on any feedback I get.
Cheers!
-Jerry
Just to keep you updated, the first reply I got was "unable to duplicate"
and a request that I send in a converted solution that exhibits the
symptoms. I've done that and am waiting for the next response.
Eureka! Today, I got this...
<quote>
This notification was generated for feedback item: VB Winform Project
Converted from VS 2008 - Edit and Continue Does Not Work which you submitted
at the Microsoft Connect site.
Thanks for your feedback.
We were able to reproduce the issue you are seeing. We are routing this
issue to the appropriate group within the Visual Studio Product Team for
triage and resolution. These specialized experts will follow-up with your
issue.
</quote>
They're listening :-)
Here is the final result I got through MS Connect. What they say here works
for me, as changing the target platform from "Any CPU" to "X86" in
Configuration Manager allowed me to E & C in VS 2010 running on Win 7 x64.
<quote>
Edit and Continue is not currently supported when running 64-bit code. This
is an issue we are looking to address for vNext. To force code to run as x86
on a 64-bit machine you need to create a new Solution Platform and choose
x86 as the target platform. Edit and Continue should then work as expected.
Please let us know if you have further issues in this area.
</quote>
Brilliant - well done!
-Jerry