I upgraded to visual studios 2010 last week. I also migrated a large web application over that I was working on.
I ran into a huge issue with CodeFile and CodeBehind. I ran the "convert to web application" feature for the project which included designer.vb files and required me to go though can change CodeFile to CodeBehind.
Now everything IS working within the web application after 40ish hours of fixing everything, but now the ability to edit .aspx.vb files while debugging is no longer available. I can edit the .aspx files just fine while debugging but not the codebehind files.
I have tried all the suggestions I have found online and none of these work. What DOES work is changing CodeBehind to CodeFile. Once I do this I can edit while debugging no problem. BUT doing this breaks the pages because the designer.vb file is no longer updated or used.
Does anyone know what could be causing this?
More details:
ASP.net using VB
Visual studios 2010 .net 4.0
x86 machine with debugging set to x86.
project is set to debug (not release)
Various settings are checked ie no optimization, etc
Summary: Can't edit while debugging if referecing file by CodeBehind=file name.aspx.vb. Changeing to CodeFile=filena me.aspx.vb allows editing of ASPX.VB files but causes the file to no longer use designer.vb file.
I ran into a huge issue with CodeFile and CodeBehind. I ran the "convert to web application" feature for the project which included designer.vb files and required me to go though can change CodeFile to CodeBehind.
Now everything IS working within the web application after 40ish hours of fixing everything, but now the ability to edit .aspx.vb files while debugging is no longer available. I can edit the .aspx files just fine while debugging but not the codebehind files.
I have tried all the suggestions I have found online and none of these work. What DOES work is changing CodeBehind to CodeFile. Once I do this I can edit while debugging no problem. BUT doing this breaks the pages because the designer.vb file is no longer updated or used.
Does anyone know what could be causing this?
More details:
ASP.net using VB
Visual studios 2010 .net 4.0
x86 machine with debugging set to x86.
project is set to debug (not release)
Various settings are checked ie no optimization, etc
Summary: Can't edit while debugging if referecing file by CodeBehind=file name.aspx.vb. Changeing to CodeFile=filena me.aspx.vb allows editing of ASPX.VB files but causes the file to no longer use designer.vb file.
Comment