Repro steps
- Create an Aspire app (any starter app is fine)
- Open application folder in VS Code
- Add the following launch configuration to
launch.json
{
"type": "aspire",
"request": "launch",
"name": "Aspire: Launch default AppHost",
"program": "${workspaceFolder}",
"env": {
"FOO": "bar"
}
}
Expected
Should work
Actual
A warning that env property is not allowed.
The environment variable is not set during application run (F5).
Repro steps
launch.json{ "type": "aspire", "request": "launch", "name": "Aspire: Launch default AppHost", "program": "${workspaceFolder}", "env": { "FOO": "bar" } }Expected
Should work
Actual
A warning that
envproperty is not allowed.The environment variable is not set during application run (F5).