Cannot currently modify this text in the editor. it is read-only.

bala4unow

Member
Joined
Dec 13, 2011
Messages
7
Programming Experience
1-3
Hi,
I installed VB.Net 2005 32 bit in my laptop which has 64 bit Windows 8 OS. While I build the solution, it doesn't allows me to debug or enter new line, throws error ("Cannot currently modify this text in the editor. it is read-only.") .

I tried enabled: Tools -> Options -> Debugging -> Edit & Continue -> Enable Edit & continue.

But nothing happened. Pls help me.
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,157
Location
Sydney, Australia
Programming Experience
10+
Firstly, I strongly recommend upgrading to a new version of VS if possible. Even 2008 has compatibility issues on Windows 8 so 2005 will be at least as bad.

As for the question, is the target platform for the project Any CPU? If so then it will be running as a 64-bit process and, if I remember correctly, Edit & Continue is only available for 32-bit processes. Try setting the target platform to x86 and see if E&C works then. You may or may not want to leave the target platform set that way, depending on what you want to deploy.
 
Top Bottom