ÇÖZÜLDÜ: HATA: A project with an Output type of Class Library cannot be started directly

 

HATA:

A project with an Output type of Class Library cannot be started directly In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.



ÇÖZÜM:

Katmanlı mimaride oluşturmuş olduğunuz projede yanlış katman üzerinde Set As Startup Project işlemini yaptığınız için bu hata oluşmaktadır.

Resimde görünen projede WebUI üzerine sağ tıklayarak Set As Startup Project denildiğinde hata ortadan kalkacaktır.

Yorumlar

Bu blogdaki popüler yayınlar

Çözüm: The view XXX was not found. The following locations were searched

.Net Core MVC ile hazırlanmış projede Web UI ve Web Api kullanıldığında nasıl Publish ediyoruz. Sunucuya atma yöntemi