Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Build WindowsDesktop targeting pack installer and package assets for Linux and macOS - #6198

Closed
dagood wants to merge 1 commit into
dotnet:masterfrom
dagood:enable-nonwin-wd
Closed

dagood wants to merge 1 commit into
dotnet:masterfrom
dagood:enable-nonwin-wd

Conversation

@dagood

@dagood dagood commented Apr 30, 2019 •

Copy link
Copy Markdown
Member

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.

Build WindowsDesktop targeting pack installer and package assets for Linux and macOS.
@dagood
dagood requested a review from a user April 30, 2019 19:17
@dagood dagood self-assigned this Apr 30, 2019

@ericstj ericstj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be having the SDK bundle something that we know doesn't work.

@ghost

ghost commented May 16, 2019

Copy link
Copy Markdown

@dagood
@dsplaisted
What is the status of this PR?

@dagood

dagood commented May 16, 2019

Copy link
Copy Markdown
Member Author

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.

@dsplaisted

Copy link
Copy Markdown
Member

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

@dagood

dagood commented May 24, 2019

Copy link
Copy Markdown
Member Author

Thanks for the update! It sounds like this bit in particular is what's addressing the offline non-Windows non-WD scenario:

https://github.com/dotnet/cli/issues/11410 On non-Windows, don't pre-emptively download WindowsDesktop targeting or runtime packs (which we normally do in case we encounter a transitive FrameworkReference)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants