如何调试VisualStudio Mac 2022扩展名?
我已经构建了一个非常简单的.net6库,其中添加了一个Hello World Pad。
我如何运行/调试此 project ?
I've build a very simple .net6 library with a visual-studio-mac extension that adds a hello world kind of Pad.
How can I run/debug this project in a new instance of VSMac?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须将此ProjectTypeguid添加到项目文件中,以便AddinMaker扩展名可以将“ Execute”添加到支持的项目功能并创建Execute命令以运行扩展名。
尽管这允许运行扩展名,但它不是VSMAC 2022的正确解决方案。
为了使您的扩展名与新版本的Visual Studio完全兼容,您需要参考新库(17.x)。要这样做,包括您的.csproj中的以下内容:
You have to add this ProjectTypeGuid to the project file so that the AddInMaker extension can add "Execute" to supported project features and create the execute command to run your extension.
Although this allows to run your extension, it's not the correct solution for vsmac 2022.
For your extension to be fully compatible with the new version of visual studio, you need to reference the new libraries (17.x). To do this include the following in your .csproj: