Skip to content

Commit 906135e

Browse files
authored
Adding net6.0-windows for WinForms and WPF (#244)
Adding net6.0-windows for WinForms and WPF to be regularly tested instead of netcoreapp3.0 which is out-of-support and can't be run on ARM64 anymore. Unlike net462 where assemblies can be simply copied over to arm64, net6.0 requires custom built assemblies for arm64, for example by running dotnet publish --framework net6.0-windows -r win-arm64 --self-contained true. This will be followed with updating our vendor tests instructions on how to test net6.0-windows instead of netcoreapp3.0 on arm64.
1 parent 86caf51 commit 906135e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFrameworks>netcoreapp3.0;net462</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.0;net462;net6.0-windows</TargetFrameworks>
55
<UseWindowsForms>true</UseWindowsForms>
66
<Company>Microsoft</Company>
77
<Authors>Hybrid Application Team</Authors>

SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFrameworks>netcoreapp3.0;net462</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.0;net462;net6.0-windows</TargetFrameworks>
55
<UseWPF>true</UseWPF>
66
<Authors>Hybrid Application Team</Authors>
77
<Company>Microsoft</Company>

0 commit comments

Comments
 (0)