How to convert Web application project to Class library project

前端 未结 4 1739
后悔当初
后悔当初 2020-12-24 05:54

I need to convert a project started as a Web Application to a Class Libray, is this possible?

Thanks

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-24 06:57

    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.

提交回复
热议问题