Hi,
You need to make sure you add this to your recipe:
<
CommandBar Name="Folder" /> (under the HostData element)
This will ensure your recipe only shows when the currently selected item is a Folder.
Then in your Recipe you will have at least one Action and in it you can use the DTE as in:
dte.SelectedItems.Item(1) to access the Folder object.
and with something like this you can read its fullpath:
SelectedItems.Item(1).ProjectItem.Properties(
"URL");
If you don't have a DTE instance handy you can retrieve one by asking for the DTE service
DTE dte = GetService(typeof(DTE)) as DTE;
HTH,
-vga.
Working with GAX/GAT/DSL? Download SFT now! http://softwarefactoriestoolkit.net