Reputation: 31
I have a shortcut I need to make based off of user input. I created a Textboxes (A) page in the file actions of my Visual Studio 2008 application. I changed the edit1 box to STUDYNAME.
In the variable, I used [StudyName], [STUDYNAME], $[STUDYNAME] and "[STUDYNAME]"
None of them worked.
Any help would be great.
Paul
Upvotes: 1
Views: 118
Reputation: 21416
Unfortunately the shortcut name is not formatted:
http://msdn.microsoft.com/en-us/library/aa371847(VS.85).aspx
So you cannot use a property for a shortcut name. Instead, you can try creating a custom action which gets the property value and renames the shortcut.
There is no predefined support for this in Visual Studio, so you will have to write the custom action code yourself.
Upvotes: 1