VSIX的测试/运行设置 [英] Test/RunSettings for VSIX

查看:44
本文介绍了VSIX的测试/运行设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在创建VSIX。我可以用什么来获取VS实例正在使用的当前.runsettings文件?


谢谢!

解决方案

您好TheWr1ter,


您想如何获取它,自定义代码或只是获取保存的路径?为什么要获取设置文件?


只需查看  Microsoft。 Visual Studio。设置 命名空间到获取更多信息。 


https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.settings?view=visualstudiosdk-2017


参考:


https ://stackoverflow.com/questions/3534804/where-should-a-visual-studio-add-in-store-its-settings


最诚挚的问候,


杰克


Hello,

I am in the process of creating a VSIX. What can I use to obtain the current .runsettings file that is being used by the VS instance?

Thanks!

解决方案

Hi TheWr1ter,

How do you want to get it, custom code or just get the path where it is saved? Why you want to get the settings file?

Just view the Microsoft.VisualStudio.Settings Namespace to get much more information. 

https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.settings?view=visualstudiosdk-2017

Reference:

https://stackoverflow.com/questions/3534804/where-should-a-visual-studio-add-in-store-its-settings

Best Regards,

Jack


这篇关于VSIX的测试/运行设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆