Skip to content

Commit

Permalink
Fix WebView2 problem (#55)
Browse files Browse the repository at this point in the history
Fixes #55
  • Loading branch information
Lamparter committed Oct 12, 2024
1 parent e5ec321 commit 6175ad2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Helpers/Rebound.Helpers.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
Expand Down Expand Up @@ -26,6 +26,10 @@
<ItemGroup>
<None Include="..\.github\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<PropertyGroup Label="Globals">
<WebView2EnableCsWinRTProjection>False</WebView2EnableCsWinRTProjection>
<WebView2LoaderPreference>Static</WebView2LoaderPreference>
</PropertyGroup>

<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
Expand Down
6 changes: 5 additions & 1 deletion Rebound/Rebound.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
Expand Down Expand Up @@ -113,6 +113,10 @@
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<ProjectCapability Include="Msix" />
</ItemGroup>
<PropertyGroup Label="Globals">
<WebView2EnableCsWinRTProjection>False</WebView2EnableCsWinRTProjection>
<WebView2LoaderPreference>Static</WebView2LoaderPreference>
</PropertyGroup>

<!--
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
Expand Down

0 comments on commit 6175ad2

Please sign in to comment.