
I started working on a new Umbraco package a while ago that begain its life as a Class Library. It had been a long day and some time into the project I decided I actually needed my project to be a Web Application Project but there was no obvious way to convert between the two. I suppose I could just create a fresh new project and move my existing files into it but that would be too easy.
I opened the two project files in Notepad++ and after some trial and error discovered that if you copy the line below into your Class Library project file beneath the <ProjectGuid> node and save it then re-open your project in Visual Studio you will magically have a Web Application project that you can add your custom user controls etc to.
<projecttypeguids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</projecttypeguids>
Related Posts
- Shortcut to Implement Abstract Class or Interface in Visual Studio
- Changing the default browser for debugging in Visual Studio 2008
- Recreate .designer files in Visual Studio 2008
- Remember to use ValidationGroup in Umbraco Dashboard User Controls
- Umbraco : No node exists with id ’1040′
Related posts brought to you by Yet Another Related Posts Plugin.



One Response
This works, like a charm, but only with proper casing: ProjectTypeGuids.
Thanks for saving me some time!