VS2017扩展如何确定活动项目文件夹。 [英] VS2017 Extension How to determine the active project folder.

查看:187
本文介绍了VS2017扩展如何确定活动项目文件夹。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS 2017 Enterprise


我正在使用标准的VSIX模板。


我的目标是c#解决方案。


我可以访问DTE,解决方案和活动项目。


我无法确定如何在Active项目中找到当前选定的文件夹。



我希望能够在正确的文件夹中创建具有正确命名空间的代码文件。


希望有人一直走在这条路上并有一个我可以使用的解决方案:)






Ibrahim Malluf MCP http://www.malluf.com

解决方案

Hi Lbrahim,


此论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统,以及Visual Studio
编辑器。


你的问题与VS Extension有关,我会把这个帖子移到相应的论坛上寻求专业的答案。


感谢您的理解。


问候,


Judyzh


I am using VS 2017 Enterprise

I am using the standard VSIX template.

I am targeting c# solutions.

I have access to the DTE, Solution and Active Project.

I can not determine how to find the currently selected folder in the Active project.

I want to be able to create a code file with the correct namespace in the correct folder.

Hopefully someone has been down this road and has a solution I can use :)


Ibrahim Malluf MCP http://www.malluf.com

解决方案

Hi Lbrahim,

This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

Your issue is related to VS Extension, I will move this thread to corresponding forum for a professional answer.

Thanks for your understanding.

Regards,

Judyzh


这篇关于VS2017扩展如何确定活动项目文件夹。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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