Skip to content

Commit

Permalink
Adding net6.0-windows for WinForms and WPF (#244)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oggy22 committed May 29, 2024
1 parent 86caf51 commit 906135e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>netcoreapp3.0;net462</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net462;net6.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<Company>Microsoft</Company>
<Authors>Hybrid Application Team</Authors>
Expand Down
2 changes: 1 addition & 1 deletion SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>netcoreapp3.0;net462</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net462;net6.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<Authors>Hybrid Application Team</Authors>
<Company>Microsoft</Company>
Expand Down

0 comments on commit 906135e

Please sign in to comment.