Repository navigation
How diagnose "IDE returned a response indicating failure: Error = run session could not be started"? #21137
Replies: 2 comments 5 replies
|
that message is the ide runner rejecting the launch request so collect diagnostics from the failing visual studio launch rather than the successful cli run in the active apphost launch profile add look for the executable run request and its 500 response body alongside the visual studio aspire output include the vs build and aspire version with those sanitized excerpts in the report |
|
Use an absolute path. The AppHost doesn't normalize the value; DCP gets it verbatim:
A relative path therefore depends on the AppHost's working directory, which can differ between VS, "environmentVariables": {
"DCP_DIAGNOSTICS_LOG_FOLDER": "C:\\temp\\dcp-logs"
}For the Heisenbug, keep the folder but drop |
Uh oh!
There was an error while loading. Please reload this page.
Every now and then we get this in some projects when launching from Visual Studio 2026:
But it runs fine with
aspire runand from VSCode.How can we diagnose this?
All reactions