Skip to content

Commit

Permalink
Remove explicit declaration of implicit transitive references to Micr…
Browse files Browse the repository at this point in the history
…osoft.Windows.CsWinRT and Microsoft.Windows.SDK.BuildTools.

See #217 (comment) and #217 (comment).
  • Loading branch information
Arlodotexe committed Oct 25, 2024
1 parent a9d01ea commit 87d5602
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions MultiTarget/PackageReferences/WinAppSdk.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<Project>
<ItemGroup>
<PackageReference Condition="'$(HasWinUI)' == 'true'" Include="Microsoft.WindowsAppSDK" Version="1.6.240829007" />
<PackageReference Condition="'$(HasWinUI)' == 'true'" Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
<PackageReference Condition="'$(HasWinUI)' == 'true'" Include="Microsoft.Web.WebView2" Version="1.0.2792.45" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<PackageReference Condition="'$(HasWinUI)' == 'true'" Include="Microsoft.Windows.CsWinRT" Version="2.1.1" />
</ItemGroup>
</Project>
3 changes: 0 additions & 3 deletions MultiTarget/WinUI.Extra.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<RuntimeIdentifiers Condition="8 > $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)'))">win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>

<WindowsSdkPackageVersion Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">10.0.22621.41</WindowsSdkPackageVersion>
<WindowsSdkPackageVersion Condition="8 > $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)'))">10.0.22621.38</WindowsSdkPackageVersion>

<!--- Workaround for ADO 53865998 - See https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/215 - Don't include extraneous WebView2 dll -->
<WebView2NeverCopyLoaderDllToOutputDirectory>true</WebView2NeverCopyLoaderDllToOutputDirectory>
</PropertyGroup>
Expand Down

0 comments on commit 87d5602

Please sign in to comment.