I need to convert a project started as a Web Application to a Class Libray, is this possible?
Thanks
I need to convert a project started as a Web Application to a Class Libray, is this possible?
Thanks
No. Your best bet is to create a Class.Library and copy the .cs files into your new project.
A Class Library won't do anything with .aspx pages, it will see those as files in the solution.
The correct answer is yes. Just edit the csproj (msbuild) file and change the ProjectGuid and remove the ProjectTypeGuids:
<ProjectGuid>{9845066A-3C9E-4F51-8F5F-8F513E8D03C1}</ProjectGuid>
It really is that simple.