Tom*_*ell 9 c# visual-studio-addins visual-studio
我加载了一个加载项,并加载了一个解决方案,如何在我的插件中以C#编程方式找到该解决方案的文件夹路径?
Tom*_*ell 12
唉,经过大量的goooogling,我发现了它!
在connect.cs中:
public String SolutionPath()
{
return Path.GetDirectoryName(_applicationObject.Solution.FullName);
}
Run Code Online (Sandbox Code Playgroud)