How to convert Web application project to Class library project

前端 未结 4 1784
后悔当初
后悔当初 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:37

    The correct answer is yes. Just edit the csproj (msbuild) file and change the ProjectGuid and remove the ProjectTypeGuids:

    {9845066A-3C9E-4F51-8F5F-8F513E8D03C1}
    

    It really is that simple.

提交回复
热议问题