Hello,
i'm currently trying to build an add-in which is similar to VSNewFile. So it's just a simple extension which provides a faster way to create new files. The problem with VSNewFile is that it doesn't work for C++ projects and i need it for that.
Here is my problem:
I'm unable to retrieve the absolute path of a selected directory. All samples i've found were something like that:
(string)((ProjectItem)parent).Properties.Item("FullPath").Value;
While this is working in a C# project it isn't in a C++ project. In an C++ project selectedItem.Project
and selectedItem.ProjectItem
are both null
when i select a directory.
Important: I'm not talking about filters! I mean real directories.
Any help is welcome. I've searched for hours now without success.
Thanks