Last post Sep 05, 2007 09:52 AM by Gipionocheiyort
Sep 04, 2007 05:38 PM|Gipionocheiyort|LINK
I don't have much experience with ASP.NET prior to 2.0 so please bear with me if this is something stupid that I'm missing.
I'm trying to convert a project from 1.1 to 2.0. When I go through the conversion wizard I am getting some strange results. For one thing the conversion wizard is moving all of my .cs files to an App_Code directory that it is creating. This struck me
as pretty weird, but it said that the conversion process completed.
Before doing anything further I attempted to open the project in Visual Web Developer and was greeted with the conversion wizard again. Running it again gave me 23 errors (one for each of the .cs files that it could no longer locate because it had previously
After this I put the .cs files back in their proper place, and tried to open the application again, and was once again greeted by the conversion wizard. I ran through the wizard yet again (I realized by then that I wasn't getting anywhere but it wasn't
letting me open the application without the conversion wizard running). It put all of my CS files back in the App_Code directory and said that the project did not need conversion (Which made sense since it had already been through it) and that the conversion
process completed successfully.
That's pretty much where I am now. VWD essentially has be stuck in a loop of the past two paragraphs. It moves my files, fails because it can't find them, says it doesn't need conversion, and moves my files again. Has anyone ever seen anything like this
before? I've upgraded a few projects to 2.0 before but I've never had any kind of results like I'm having now.
Any help you can give me would be greatly appreciated (and my computer will thank you too if you keep me from throwing it at something)
Sep 05, 2007 09:52 AM|Gipionocheiyort|LINK
I may have gotten a little further....I was able to get a warning message from the conversion wizard that said the following. This is a bit above my head at this point, does anyone know what this means?
Warning: If the base class of any of the code-behind classes declares page fields please add the 'CodeFileBaseClass' attribute in the corresponding Page.