Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running devenv commands from the context of a selected VS #8

Closed
kzu opened this issue Apr 23, 2020 · 2 comments
Closed

Allow running devenv commands from the context of a selected VS #8

kzu opened this issue Apr 23, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@kzu
Copy link
Member

kzu commented Apr 23, 2020

It's useful to be able to run some built-in commands, like devenv -updateconfiguration or devenv -rootSuffix Exp.

The proposed syntax after talking with @adalon is:

 vs [nickname] [options]

Examples:

vs master --updateConfiguration  => Start master dev cmd prompt & execute devenv -updateConfiguration
vs master c:\code\foo.sln

One useful option that could be alias for devenv.exe is:

--exp  => devenv.exe /rootSuffix Exp

We should likely document in -?|h|help the built-in arguments too.

@adalon mentioned that "It should run the specified devenv command using the associated prompt context (VsDevCmd.bat)."
I don't think that should be necessary since it's not necessary to run devenv.exe with parameters itself from a developer command
prompt. So just running it with the provided args would be just fine I think.

Back this issue
Back this issue

@kzu
Copy link
Member Author

kzu commented Apr 23, 2020

This is mostly already covered with the existing vs run which is the default command, so vs also runs devenv.exe. The alias for --exp would be useful.

@kzu kzu added the enhancement New feature or request label Apr 23, 2020
@kzu
Copy link
Member Author

kzu commented Apr 24, 2020

I considered this covered by the existing vs run support plus 0d8059c

@kzu kzu closed this as completed Apr 24, 2020
@devlooped devlooped locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant