Error: A project with an Output Type of Class Library cannot be started directly
2013-10-24 10:27
591 查看
本来好好的网站程序在我重装系统之后突然就出错了,于是只好 用VisualStudio.net 2003进行调试,以前花了好大功夫找的调试配置相关的资料居然没有保存,郁闷死了,于是这次就保存一下。
按F5调试时发现这个错误:
A project with an Output Type of Class Library cannot be started directly
原因是:把类库项目作为起始项目了,起始项目只能是可执行程序或者web程序
解决方法:在你要启动的项目上单击右键,选择Set as startup project 选择,这时会发现项目的字体已经变黑,表示现以该项目做为启动项目。
还要设置起始页,就是网站的首页。
按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
- How to solve the problem "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
- Creating An Instance Of The Com Component With Clsid {b9425246-4131-11d2-be48-004005a04edf} From The Iclassfactory Failed Due To The Following Error
- keil(MDK)中出现error: #513: a value of type "int" cannot be assigned to an entity of type "char *",即函数返回值无法赋值给对应变量的错误
- caffe: fuck compile error again : error: a value of type "const float *" cannot be used to initialize an entity of type "float *"
- python3 爬虫TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be
- keil(MDK)中出现error: #513: a value of type "int" cannot be assigned to an entity of type "char *",即函数返
- 类似Build Error: #513: a value of type "int" cannot be assigned to an entity of type "char *"
- Pymongo: TypeError: if no direction is specified, key_or_list must be an instance of list
- [Error]No enclosing instance of type XX is accessible. Must qualify the allocation with an e
- TypeError: name must be an instance of basestring
- No exception of type HibernateException can be thrown; an exception type must be a subclass of Thro
- Err:The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List or array