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

Set DOTNET_ENVIRONMENT when running AppHost #3425

Merged
merged 1 commit into from
Feb 23, 2024

Commits on Feb 23, 2024

  1. Set DOTNET_ENVIRONMENT when running AppHost

    - Flow `DOTNET_ENVIRONMENT` into the process environment from the
      `.env` file when running the app host program to generate the
      manifest.
    
    - Use `ASPIRE_ENVIRONMENT` (when set, VS will likely remove it soon as
      we have decided to not introduce yet another concept) to influence
      `DOTNET_ENVIRONMENT` during environment creation in the VS Server RPC.
    
    - When caching manifests in the `DotNetImporter`, use the tuple of
      `{app-host-path, DOTNET_ENVIRONMENT}` as the
      cache key, instead of just the path to the manifest as the output of
      these manifest can depend on these values.
    
    Fixes: Azure#3233
    ellismg committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    d4f7d5a View commit details
    Browse the repository at this point in the history