-
Notifications
You must be signed in to change notification settings - Fork 306
Visual Studio: use configuration other then develop
#298
Comments
I've also tried |
Hi @h3yduck ,
(You can also accomplish the same thing with the AZURE_LOGGING_ENABLE_LOG_FILE environment variable.) After enabling this, you should see logs in these directories, depending on your OS: Let us know if this helps! |
Hi @amsoedal , Thank you very much for the quick response! We run our services on multiple environments, let's call them configurations:
A:
install:
set:
vault: vault-of-env-A
# some other value overrides...
A:
install:
set:
vault: vault-of-env-A
# some other value overrides... Running I would like to do the same but inside Visual Studio. It defaults to a development configuration called |
Hey @h3yduck, There's currently some basic functionality in the VS extension to support changing the deployment configuration we use when deploying to Dev Spaces. You can edit the .csproj file for the DevSpaces project to add an MSBuild Property for DevSpacesConfiguration that sets the configuration name to use. For example:
That's definitely not as straightforward or flexible as the config flag from the CLI though. I'll add a work item to our backlog to support specifying a custom config name in the launch profile. |
Hi!
Is it possible to choose AZDS configuration when running from Visual Studio? There isn't a dropdown for this on the UI and specifying
commandLineArgs
inlaunchSettings.json
is ignored by AZDS.Thanks in advance!
The text was updated successfully, but these errors were encountered: