Visual Studio Template Template - Locate Current Folder

When you right-click on a folder and ' add a new item', is there a way to find out the current folder? I am trying to show the default name for my custom item template in the add new item dialog.

Want it to be dynamic, based on the current folder.

I am currently using a property DefaultNamethat gives me a static default name.

+3
source share

Source: https://habr.com/ru/post/1786423/


All Articles