Visual Studio 插件不再允许我调试它

发布于 2024-10-08 00:20:10 字数 300 浏览 0 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

鱼忆七猫命九 2024-10-15 00:20:10

我想通了。 Visual Studio 如何丢失启动外部程序命令行参数 设置值的一些信息。

启动外部程序需要设置为:

[Visual Studio path]\Common7\IDE\devenv.exe

命令行参数应为:

/resetaddin [Name of addin].connect

alt text

I figured it out. Some how Visual studio lost the Start External Program and the Command line arguments setting values.

Start External Program needs to be set to:

[Visual Studio path]\Common7\IDE\devenv.exe

And the Command line argument should be:

/resetaddin [Name of addin].connect

alt text

白日梦 2024-10-15 00:20:10

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文