I suggest you ...

Provide a powershell version of vcvars

Using visual-studio from the command line, if your command line is powershell, is not currently well represented. There are no obvious cmdlets or powershell scripts that allow you to invoke the equivalent of a vsdevcmd powershell prompt.

So far the work-arounds I've seen tend to involve guessing what the 'vcvars.bat' is called, invoking that, calling 'set' and scraping the values. Problem is, you basically have to know where visual studio is before you begin.

2 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Oliver Smith shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base