Merge pull request #906 from Sergio0694/dev/remove-webview2-package
Remove 'WebView2' package dependency
このコミットが含まれているのは:
2ファイル変更
+11
-9
検索条件に一致するファイルはありません
@@ -5,9 +5,6 @@
|
||||
<WindowsSdkPackageVersion>10.0.22621.54</WindowsSdkPackageVersion>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
|
||||
|
||||
<!-- Workaround for 'CoreWebView2' issue (see notes in ComputeSharp.WinUI) -->
|
||||
<WebView2EnableCsWinRTProjectionExcludeCoreRef>true</WebView2EnableCsWinRTProjectionExcludeCoreRef>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
@@ -25,6 +22,9 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.2" />
|
||||
|
||||
<!-- Workaround for 'CoreWebView2' issue (see notes in ComputeSharp.WinUI) -->
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3124.44" PrivateAssets="all" IncludeAssets="none" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -5,16 +5,18 @@
|
||||
<WindowsSdkPackageVersion>10.0.22621.54</WindowsSdkPackageVersion>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
|
||||
|
||||
<!--
|
||||
Workaround for the 'CoreWebView2' SDK package referencing the WinRT implementation binary (Microsoft.Web.WebView2.Core.dll)
|
||||
when 'TargetPlatform=AnyCPU'. It's not needed for the CsWinRT projection, so set it to not be loaded at all to fix the build.
|
||||
-->
|
||||
<WebView2EnableCsWinRTProjectionExcludeCoreRef>true</WebView2EnableCsWinRTProjectionExcludeCoreRef>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.250228001" />
|
||||
|
||||
<!--
|
||||
The 'Microsoft.Web.WebView2' package that WindowsAppSDK has a transitive dependency on is an older version, which
|
||||
has a bug causing 'WebView2Loader.dll' to be referenced in the .pri file produced for this library. This breaks
|
||||
downstream consumers, as that .dll will not actually exist in the NuGet package (it's from the 'WebView2' package).
|
||||
Because we don't even need anything from this package at all anyway, we can fix this by just excluding it entirely.
|
||||
-->
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3124.44" PrivateAssets="all" IncludeAssets="none" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする