View Full Version : اين پيام خطا برا چيه؟ خيلي فوريه؟؟؟
hasty0087
دوشنبه 29 شهریور 1389, 01:29 صبح
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
salehbagheri
دوشنبه 29 شهریور 1389, 01:54 صبح
این پیغام به شما میگه که نوع پروژه ای که انتخاب کردید، از نوع اجرا شدنی نیست! مثلاً خروجیش ممکنه یه Dll باشه.
باید Windows Application رو انتخاب کنید.
qqq2qqq
دوشنبه 29 شهریور 1389, 02:08 صبح
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
با سلام دوست عزیز
اولین راه شما پروژه را از منوی Build، Build کنید
اگر جواب نداد احتمالا تنظیمات رو باید عوض کنید برای این کار روی پروژه کلیک راست کنید سپس properties را انتخاب و باید output typeرا عوض کنید ( احتمالا روی class library قرار گرفته باید به windows application تغییر کند ) بعد از ذخیره کردن properties مجدد امتحان کنید
سوالی پیش اومد مطرح کنید
موفق باشید
hasty0087
دوشنبه 29 شهریور 1389, 02:44 صبح
سلام.
مرسي 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
ميده.
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.