Hi @Torben Koch
Welcome to Microsoft Q&A!
I tried to create a library project but could not reproduce your issue.
Regarding "RunCommand not found", I did not find information about this error, it may be related to the migration of the project, you can refer to this document.
Regarding your other question, "how do I debug an iis application using visual studio when the application is a library", you can refer to Debug DLLs in Visual Studio.
Sincerely,
Peng
*
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread