A project with an Output Type of Class Library cannot be started directly
2011-12-01 10:12
429 查看
按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
原因是:把类库项目作为起始项目了,起始项目只能是可执行程序或者web程序
解决方法:在你要启动的项目上单击右键,选择Set as startup project 选择,这时会发现项目的字体已经变黑,表示现以该项目做为启动项目。
还要设置起始页,就是网站的首页。
相关文章推荐
- 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
- 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
- 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 "
- TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type s
- python3 爬虫TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer
- Creating An Instance Of The Com Component With Clsid {b9425246-4131-11d2-be48-004005a04edf} From The Iclassfactory Failed Due To The Following Error
- No exception of type JmsException can be thrown; an exception type must be a subclass of Throwable
- cannot initialize a parameter of type 'IPCameraNightMode' with an rvalue of type 'int'
- java-No exception of type ConfigurationException can be thrown; an exception type must be a subclass
- java-No exception of type ConfigurationException can be thrown; an exception type must be a subclass of Throwable
- BC30109: 'String' is a class type and cannot be used as an expression.
- 闭包错误-Cannot invoke 'responseResult' with an argument list of type
- swift 3.0 - cannot invoke 'GCRect.Type.init' with an argumentment list of type