The project doesn't know how to run command WSL from launchsettings.json
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
I can run a dotnet project using command WSL from visual studio. However, it fails to run an aspire project this way. Below are two settings I used.
```json
//dotnet
{
"profiles": {
"Test": {
"commandName": "WSL",
"launchBrowser": true,
"launchUrl": "index.html",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001"
}
}
```
```json
//aspire
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"WSL": {
"commandName": "WSL",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:5132",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.