ÇÖ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ÜLDÜ: mapper, System.BadImageFormatException: 'Could not load file or assembly 'DataAccess....Geçersiz biçimdeki bir program yüklenmek istendi

Asp.NET Core 5.0 - Kullanıcıdan Gelen Verilerin Doğrulanması Validations (Gençay Yıldız anlatımından resmedilmiştir)

Asp.NET Core 5.0 - Temel Kavramlar(User-Client-Hosting-IP-Domain-Request-Response-Layout-RenderBody-RenderSection ) (Gençay Yıldız anlatımı)