-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
🏁 Release: .NET 7Work items for the .NET 7 releaseWork items for the .NET 7 release
Description
Help us make content visible
DisableTransitiveFrameworkReferenceDownloads
Microsoft.Maui.Essentials
EnableWindowsTargeting
NETSDK1100
Describe the new article
@tdykstra, this PR makes three changes we want documentation on: dotnet/sdk#25358
- If a customer wants to build a windows application (WPF, Winforms) on a non-windows platform, they will get NETSDK1100 today. We've changed the behavior so that if they set
<EnableWindowsTargeting>true</EnableWindowsTargeting>, this will enable them to get unblocked. This is because we don't automatically download targeting and runtime packs on platforms that aren't supported but with this flag, we now will when cross-targeting. - If a customer has a reference to a project that uses Maui essentials but haven't set
<UseMauiEssentials>true</UseMauiEssentials>, then they will need to. We can't flow the maui essentially dependencies automatically without breaking other scenarios but setting this will make sure that the referencing project correctly pulls in the right known framework reference for maui essentialls. - We added DisableTransitiveFrameworkReferenceDownloads. Setting this to true will let customers avoid downloading extra runtime and targeting packs they didn't need. For some Maui windows scenarios, it was trying to download aspnet and windows desktop packages just in case they were needed later and this will disable that unless directly used.
Metadata
Metadata
Assignees
Labels
🏁 Release: .NET 7Work items for the .NET 7 releaseWork items for the .NET 7 release