A project with an Output Type of Class Library cannot be started directly
来源:互联网 发布:淘宝发货地址不是买家 编辑:程序博客网 时间:2024/05/29 03:17
本来好好的网站程序在我重装系统之后突然就出错了,于是只好 用VisualStudio.net 2003进行调试,以前花了好大功夫找的调试配置相关的资料居然没有保存,郁闷死了,于是这次就保存一下。
按F5调试时发现这个错误:
A project with an Output Type of Class Library cannot be started directly
原因是:把类库项目作为起始项目了,起始项目只能是可执行程序或者web程序
解决方法:在你要启动的项目上单击右键,选择Set as startup project 选择,这时会发现项目的字体已经变黑,表示现以该项目做为启动项目。
还要设置起始页,就是网站的首页。
- A project with an Output Type of Class Library cannot be started directly
- A project with an Output Type of Class Library cannot be started directly
- A project with an Output Type of Class Library cannot be started directly
- A project with an Output Type of Class Library cannot be started directly的解决
- A project with an Output Type of Class Library cannot be started directly
- Error: A project with an Output Type of Class Library cannot be started directly
- The type OneInterface cannot be a superinterface of OneInterfaceImpl; a superinterface must be an in
- Cannot initialize a parameter of type 'NSString *_Nullable' with an rvalue of type ''UITouchPhase"
- cannot initialize a parameter of type 'IPCameraNightMode' with an rvalue of type 'int'
- a value of type "const struct Menu * "cannot be assigned to an entity of type "struct Menu"
- 类似Build Error: #513: a value of type "int" cannot be assigned to an entity of type "char *"
- TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type s
- Swift*Cannot invoke 'jsonObject' with an argument list of type
- class cannot be resolved to a type 或者JSP import class cannot be resolved to
- keil(MDK)中出现error: #513: a value of type "int" cannot be assigned to an entity of type "char *",即函数返
- The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List
- java-No exception of type ConfigurationException can be thrown; an exception type must be a subclass
- Cannot initialize a parameter of type 'char **' with
- Java 编码规范(2)
- 应聘C语言类工作职位面试题大汇总
- 应聘C语言类工作职位面试题大汇总2
- 应聘C语言类工作职位面试题大汇总3
- 使用WiX打包你的应用程序之一---基本应用
- A project with an Output Type of Class Library cannot be started directly
- 我的文章01
- 应聘C语言类工作职位面试题大汇总4
- 如何使用ArcGIS9.2中的动态显示(Dynamic Display)技术(三)
- 应聘C语言类工作职位面试题大汇总5
- 应聘C语言类工作职位面试题大汇总6
- 将Excel数据导入到数据库中
- jar文件的双击运行
- 应聘C语言类工作职位面试题大汇总7