Skip to content

Commit

Permalink
USE_WEBVIEW2_EXPERIMENTAL in WPF sample app (#181)
Browse files Browse the repository at this point in the history
* Update WebView2WpfBrowser.csproj

* Debug/Release Stable/Experimental APIs
  • Loading branch information
oggy22 committed May 10, 2023
1 parent 257250a commit c8898ef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
10 changes: 8 additions & 2 deletions SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
<Product>WebView2 WPF Sample Browser App</Product>
<Copyright>Copyright ©2020</Copyright>
<NoWin32Manifest>true</NoWin32Manifest>
<Configurations>Debug;Release</Configurations>
<Configurations>Debug Stable APIs;Release Stable APIs;Debug Experimental APIs;Release Experimental APIs</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug Experimental APIs'">
<DefineConstants>USE_WEBVIEW2_EXPERIMENTAL</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release Experimental APIs'">
<DefineConstants>USE_WEBVIEW2_EXPERIMENTAL</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='x64'">
<PlatformTarget>x64</PlatformTarget>
Expand Down Expand Up @@ -58,4 +64,4 @@
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1829-prerelease" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
</Project>
</Project>
18 changes: 12 additions & 6 deletions SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebView2WpfBrowser", "WebVi
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Debug Experimental APIs|Any CPU = Debug Experimental APIs|Any CPU
Debug Stable APIs|Any CPU = Debug Stable APIs|Any CPU
Release Experimental APIs|Any CPU = Release Experimental APIs|Any CPU
Release Stable APIs|Any CPU = Release Stable APIs|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Release|Any CPU.Build.0 = Release|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Debug Experimental APIs|Any CPU.ActiveCfg = Debug Experimental APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Debug Experimental APIs|Any CPU.Build.0 = Debug Experimental APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Debug Stable APIs|Any CPU.ActiveCfg = Debug Stable APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Debug Stable APIs|Any CPU.Build.0 = Debug Stable APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Release Experimental APIs|Any CPU.ActiveCfg = Release Experimental APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Release Experimental APIs|Any CPU.Build.0 = Release Experimental APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Release Stable APIs|Any CPU.ActiveCfg = Release Stable APIs|Any CPU
{EE405166-276B-486B-A7C6-D3E5BE2BBB6C}.Release Stable APIs|Any CPU.Build.0 = Release Stable APIs|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit c8898ef

Please sign in to comment.