ASP.NET 1.1 to 2.0: Give me partial classes

by Peter Ravnholt 20. November 2007 22:07
I'm currently working on a project where a lot of initial migrating from ASP.NET 1.1 is needed. Usually the migration wizard in VS.NET 2005 takes care of things, but after converting the web sites, I realized that no ASP.NET 2.0-style partial classes where created for the web pages. Whenever I created a control i the markup, the usual magic of establishing af corresponding class instance in the .designer.cs did not occur. In fact, the .designer.cs file was not there.

The solution is quite simple - right click on the Web Application root and select Convert to Web Application. Now the .designer.cs files are added for each .aspx file in the project. Nice. Thanks to Ken Casada for a detailed post on the subject.

Tags:

.NET development | Development tools

Comments

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.6.1.0

About the author

Peter Ravnholt

My Delicious bookmarks

Email

Peter Ravnholt is working as a .NET software architect and lead developer.

Widget Twitter not found.

Root element is missing.X

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

 


© Copyright 2009, Peter Ravnholt


Creative Commons License

Peter's .NET Ramblings
is licensed under a Creative Commons Navngivelse 3.0 Unported License.
Permissions beyond the scope of this license may be available at the contact page.