Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions src/Workload/Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
<MauiWorkloadTargetFrameworkVersion>@MAUI_DOTNET_VERSION@</MauiWorkloadTargetFrameworkVersion>
<MauiVersion Condition=" '$(MauiVersion)' == '' ">$(MauiWorkloadVersion)</MauiVersion>

<!--
Indicates that the Microsoft.Maui.Controls.Compatibility package should be implicitly
referenced. This will eventually switch to false by default and become opt, in,
however Visual Studio currently depends on this assembly being loaded for Live Visual Tree.
-->
<UseMauiCompat Condition=" '$(UseMauiCompat)' == '' and '$(UseMaui)' == 'true' ">false</UseMauiCompat>

<!--
If opted into NuGet Central Package Management, $(DisableMauiImplicitPackageReferences) defaults to true
https://learn.microsoft.com/nuget/consume-packages/Central-Package-Management
Expand All @@ -38,7 +31,7 @@

One thing to note: the old and unsupported $(UseMauiNuGets) property is the same as the new
$(DisableMauiImplicitPackageReferences) property and is just kept for compatibility. It should
not be used any any project, but there are some existing projects that have used them.
not be used any project, but there are some existing projects that have used them.
-->
<ItemGroup Condition=" '$(DisableMauiImplicitPackageReferences)' != 'true' and '$(UseMauiNuGets)' != 'true' ">
<_MauiImplicitPackageReference Include="Microsoft.Maui.Resizetizer" Version="$(MauiVersion)" PrivateAssets="all" Condition=" '$(UseMauiAssets)' == 'true' " />
Expand All @@ -51,9 +44,6 @@
<_MauiImplicitPackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" Condition=" '$(UseMaui)' == 'true' ">
<PrivateAssets Condition=" '$(OutputType)' == 'Library' and '$(AndroidApplication)' != 'true' and '$(IsAppExtension)' != 'true'">all</PrivateAssets>
</_MauiImplicitPackageReference>
<_MauiImplicitPackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" IsMauiImplicitOptionalPackageReference="true" Condition=" '$(UseMaui)' == 'true' and '$(UseMauiCompat)' == 'true' ">
<PrivateAssets Condition=" '$(OutputType)' == 'Library' and '$(AndroidApplication)' != 'true' and '$(IsAppExtension)' != 'true'">all</PrivateAssets>
</_MauiImplicitPackageReference>
<_MauiImplicitPackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)" Condition=" '$(UseMaui)' == 'true' and '$(UsingMicrosoftNETSdkRazor)' == 'true' ">
<PrivateAssets Condition=" '$(OutputType)' == 'Library' and '$(AndroidApplication)' != 'true' and '$(IsAppExtension)' != 'true'">all</PrivateAssets>
</_MauiImplicitPackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"Microsoft.Maui.Controls.Build.Tasks",
"Microsoft.Maui.Controls.Core",
"Microsoft.Maui.Controls.Xaml",
"Microsoft.Maui.Controls.Compatibility",
"Microsoft.Maui.Essentials"
]
},
Expand Down
1 change: 0 additions & 1 deletion src/Workload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The idea, is a project to be able to set `$(UseMaui)`:
* `Microsoft.NET.Sdk.Maui` - workload manifest
* `Microsoft.Maui.Sdk` - workload SDK
* `Microsoft.Maui.Controls` - nuget
* `Microsoft.Maui.Controls.Compatibility` - nuget
* `Microsoft.Maui.Templates` - nuget

`BlazorWebView` is an addition to MAUI, project can currently opt into
Expand Down
Loading