Q:

Change web project to class library

Is there any way but copying the .cs files?
Changing the .csproj file? But how?
There is a related question, but I'm not satisfied with the answer: link

A:

You may not be satisfied with the answer, but it's still the right one and this is still a dupe I'm afraid.
Honestly, it would take no more than an hour to refactor.

