Visual Studio 插件不再允许我调试它
我的 Visual Studio 插件项目将不再在调试器中构建和运行。当我尝试运行它时,我收到以下错误消息:
A project with an Output Type of CLass Library cannot be stared directly.
大约 5 个月前它工作得很好,但我打开它并从那时起第一次运行它并收到此消息。它用于启动 Visual Studio 的另一个实例,并通过代理插件文件安装插件。
如何配置项目或解决方案以使其再次以这种方式运行?我需要手动调整解决方案文件的项目吗?
My visual studio addin project will not longer build and run in the debugger. I get the following error message when I try to run it:
A project with an Output Type of CLass Library cannot be stared directly.
It was working about 5 months ago just fine but I opened it and and ran it for the first time since then and get this message. It used to startup another instance of Visual Studio with the addin installed via a proxy addin file.
How do I configure the project or solution to make it behave this way again? Do I need to manually tweak the project of solution file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想通了。 Visual Studio 如何丢失
启动外部程序
和命令行参数
设置值的一些信息。启动外部程序需要设置为:
命令行参数应为:
I figured it out. Some how Visual studio lost the
Start External Program
and theCommand line arguments
setting values.Start External Program needs to be set to:
And the Command line argument should be:
Visual Studio 2012 更新
在 Visual Studio 2012 中,新包项目的设置有些不同。
启动外部程序需要设置为:
[Visual Studio 路径]\Common7\IDE\devenv.exe
并且命令行参数应为:
/rootsuffix Exp
Update for Visual Studio 2012
In Visual Studio 2012, the settings for a new package project are somewhat different.
Start External Program needs to be set to:
[Visual Studio path]\Common7\IDE\devenv.exe
And the Command line argument should be:
/rootsuffix Exp