Luke,
Sorry but it is unclear.
May be you don't understand the problem (my fault).
My problem is migrating a large web site project containing many folders
with .aspx and related .aspx.cs files.
The migration wizard kept the folders in project root directory, keeping
only the .aspx files.
The .aspx.cs files have been automatically moved in the App_code folder,
copying the original folder hierachy under App_code.
And this does not compile because compiler can't create the relation
between the aspx and the codebehind.
CS
"Luke Zhang [MSFT]" <lu******@online.microsoft.com> a écrit dans le message
de news:
ST**************@TK2MSFTNGXA02.phx.gbl...
Hello,
The folder "App_Code" is a special folder in ASP.NET 2.0, you can not put
*.aspx.cs in this folder.
If you need to put some code/logic in "App_Code" , you can define a class
and put your logic in the class. The class will be put in the folder
"App_Code" and you can refer the class in your *.aspx.cs.
Luke