Closed Herdo closed 1 month ago
Interesting catch! @danegsta is this something that should be reported in VS developer community for triage on the VS docker tools side?
Broadly speaking in 8.0.100 Worker SDK projects should be able to be debugged in this way, and from 8.0.200 onwards any project with the EnableSdkContainerSupport
property set to true
should be able to be debugged in this way.
Installed SDK version is 8.0.204.
For me it feels like the Visual Studio tooling is lacking some things, as most of it had to be assembled by hand, taken from the Web
SDK. Just reporting here due to the error message.
Sorry @Herdo - you're totally right, my comments were intended for the VS Docker tools team as a guideline for how to think about what project types can be containerized in what SDK versions when updating the VS features. No reflection on you or your report at all.
@Herdo please raise this over at the VS Developer Community portal to get it seen by the appropriate team.
I've tried to enable debugging a worker project using the SDK container build, but failed to do so. Apparently, only the
Web
SDK supports SDK container style debugging.It'd be great if the other SDKs would also support the SDK container style debugging like the
Web
SDK does.I tried with this project and launch settings:
Worker.csproj
launchSettings.json
Results in Visual Studio 17.9 giving me this error message:
When chaning the project SDK to
Microsoft.NET.Sdk.Web
, debugging works fine.Publishing is not affected. This works fine. The debug functionality is missing.