the project with the 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
the project with the 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
این پیغام به شما میگه که نوع پروژه ای که انتخاب کردید، از نوع اجرا شدنی نیست! مثلاً خروجیش ممکنه یه Dll باشه.
باید Windows Application رو انتخاب کنید.
امیدم به دستان زیبای اوست . آنکه می آید . همان که نامش منجی ست ....
به راستی اگر غرق نبودیم چرا مارا به منجی ای نیازمند کرده اند؟ ... دنیا دریاست ....
دلنوشته های من
با سلام دوست عزیز
اولین راه شما پروژه را از منوی Build، Build کنید
اگر جواب نداد احتمالا تنظیمات رو باید عوض کنید برای این کار روی پروژه کلیک راست کنید سپس properties را انتخاب و باید output typeرا عوض کنید ( احتمالا روی class library قرار گرفته باید به windows application تغییر کند ) بعد از ذخیره کردن properties مجدد امتحان کنید
سوالی پیش اومد مطرح کنید
موفق باشید
سلام.
مرسي qqq2qqq.
اما پيام :Error 1 Program 'D:\Library Pr\library\DataAccess\obj\Release\DataAccess.exe' does not contain a static 'Main' method suitable for an entry point DataAccessLayer
و
Error 2 Metadata file 'D:\Library Pr\library\DataAccess\bin\Debug\DataAccess.exe' could not be found BusinessLogicLayer
ميده.