Repository navigation
Conversation
Build WindowsDesktop targeting pack installer and package assets for Linux and macOS.
ericstj
left a comment
There was a problem hiding this comment.
We shouldn't be having the SDK bundle something that we know doesn't work.
|
@dagood |
|
Waiting on a final decision in the "Offline SDK restores for non-Windows" email thread. This still seems to be the pragmatic solution--doing it "right" (download these bits separately from the gallery in the very unlikely case someone on non-Windows has a practical use for them) has significant cost. |
|
We decided not to support building projects using WindowsDesktop (SDK or Shared Framework) on non-Windows operating systems for now. See https://github.com/dotnet/cli/issues/10842 and https://github.com/dotnet/cli/issues/11410 |
|
Thanks for the update! It sounds like this bit in particular is what's addressing the offline non-Windows non-WD scenario:
|
The SDK currently expects the same targeting packs to available regardless of platform, and there's no known reason to omit WindowsDesktop bits from non-Windows. The WindowsDesktop targets only run on Windows, but it's possible to avoid the targets and compile against the reference DLLs directly.