File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 5
5
<WindowsSdkPackageVersion >10.0.22621.54</WindowsSdkPackageVersion >
6
6
<Platforms >x64;ARM64</Platforms >
7
7
<RuntimeIdentifiers >win-x64;win-arm64</RuntimeIdentifiers >
8
-
9
- <!-- Workaround for 'CoreWebView2' issue (see notes in ComputeSharp.WinUI) -->
10
- <WebView2EnableCsWinRTProjectionExcludeCoreRef >true</WebView2EnableCsWinRTProjectionExcludeCoreRef >
11
8
</PropertyGroup >
12
9
13
10
<PropertyGroup >
25
22
26
23
<ItemGroup >
27
24
<PackageReference Include =" Microsoft.Graphics.Win2D" Version =" 1.3.2" />
25
+
26
+ <!-- Workaround for 'CoreWebView2' issue (see notes in ComputeSharp.WinUI) -->
27
+ <PackageReference Include =" Microsoft.Web.WebView2" Version =" 1.0.3124.44" PrivateAssets =" all" IncludeAssets =" none" />
28
28
</ItemGroup >
29
29
30
30
<ItemGroup >
Original file line number Diff line number Diff line change 5
5
<WindowsSdkPackageVersion >10.0.22621.54</WindowsSdkPackageVersion >
6
6
<Platforms >x64;ARM64</Platforms >
7
7
<RuntimeIdentifiers >win-x64;win-arm64</RuntimeIdentifiers >
8
-
9
- <!--
10
- Workaround for the 'CoreWebView2' SDK package referencing the WinRT implementation binary (Microsoft.Web.WebView2.Core.dll)
11
- when 'TargetPlatform=AnyCPU'. It's not needed for the CsWinRT projection, so set it to not be loaded at all to fix the build.
12
- -->
13
- <WebView2EnableCsWinRTProjectionExcludeCoreRef >true</WebView2EnableCsWinRTProjectionExcludeCoreRef >
14
8
</PropertyGroup >
15
9
16
10
<ItemGroup >
17
11
<PackageReference Include =" Microsoft.WindowsAppSDK" Version =" 1.6.250228001" />
12
+
13
+ <!--
14
+ The 'Microsoft.Web.WebView2' package that WindowsAppSDK has a transitive dependency on is an older version, which
15
+ has a bug causing 'WebView2Loader.dll' to be referenced in the .pri file produced for this library. This breaks
16
+ downstream consumers, as that .dll will not actually exist in the NuGet package (it's from the 'WebView2' package).
17
+ Because we don't even need anything from this package at all anyway, we can fix this by just excluding it entirely.
18
+ -->
19
+ <PackageReference Include =" Microsoft.Web.WebView2" Version =" 1.0.3124.44" PrivateAssets =" all" IncludeAssets =" none" />
18
20
</ItemGroup >
19
21
20
22
<ItemGroup >
You can’t perform that action at this time.
0 commit comments