Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .NET 8 #337

Merged
merged 13 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<DotnetVersion>net6.0</DotnetVersion>
<TargetDotnetVersions>net6.0;net8.0</TargetDotnetVersions>
<TargetDotnetVersionsWindows>net6.0-windows;net8.0-windows</TargetDotnetVersionsWindows>
<Platforms>x64;ARM64</Platforms>
<AvaloniaVersion>0.10.17</AvaloniaVersion>
<CefGlueVersion>120.6099.1</CefGlueVersion>
Expand Down
2 changes: 1 addition & 1 deletion SampleWebView.Avalonia/SampleWebView.Avalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>$(DotnetVersion)</TargetFramework>
<TargetFrameworks>$(TargetDotnetVersions)</TargetFrameworks>
<RollForward>LatestMajor</RollForward>
<Configurations>Debug;Release;ReleaseAvalonia;ReleaseWPF;ReleaseAvaloniaRemoteDebugSupport</Configurations>
<RuntimeIdentifiers>osx-x64;win-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
Expand Down
2 changes: 1 addition & 1 deletion SampleWebView.Avalonia/bundle-osx-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-arm64 -p:Platform=ARM64

TARGETAPP=bin/ARM64/Debug/net6.0/osx-arm64/publish/SampleWebView.app/Contents/MacOS
TARGETAPP=bin/ARM64/Debug/net8.0/osx-arm64/publish/SampleWebView.app/Contents/MacOS
chmod +x "$TARGETAPP/CefGlueBrowserProcess/Xilium.CefGlue.BrowserProcess"
chmod +x "$TARGETAPP/SampleWebView.Avalonia"
2 changes: 1 addition & 1 deletion SampleWebView.Avalonia/bundle-osx-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-x64 -p:Platform=x64

TARGETAPP=bin/x64/Debug/net6.0/osx-x64/publish/SampleWebView.app/Contents/MacOS
TARGETAPP=bin/x64/Debug/net8.0/osx-x64/publish/SampleWebView.app/Contents/MacOS
chmod +x "$TARGETAPP/CefGlueBrowserProcess/Xilium.CefGlue.BrowserProcess"
chmod +x "$TARGETAPP/SampleWebView.Avalonia"
2 changes: 1 addition & 1 deletion WebViewControl.Avalonia/WebViewControl.Avalonia.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(DotnetVersion)</TargetFramework>
<TargetFrameworks>$(TargetDotnetVersions)</TargetFrameworks>
<RootNamespace>WebViewControl</RootNamespace>
<AssemblyTitle>WebViewControl Avalonia</AssemblyTitle>
<Description>WebViewControl for Avalonia powered by CefGlue</Description>
Expand Down
2 changes: 1 addition & 1 deletion WebViewControl/WebViewControl.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(DotnetVersion)-windows</TargetFramework>
<TargetFrameworks>$(TargetDotnetVersionsWindows)</TargetFrameworks>
<AssemblyTitle>WebViewControl WPF</AssemblyTitle>
<Description>WebViewControl for WPF powered by CefGlue</Description>
<Configuration></Configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(DotnetVersion)</TargetFramework>
<TargetFrameworks>$(TargetDotnetVersions)</TargetFrameworks>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(MSBuildProjectDirectory)\bin\</OutputPath>
<RootNamespace>TestResourceAssembly</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(DotnetVersion)</TargetFramework>
<TargetFrameworks>$(TargetDotnetVersions)</TargetFrameworks>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(MSBuildProjectDirectory)\bin\</OutputPath>
<RootNamespace>TestResourceAssembly</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion tests/Tests.WebView/Tests.WebView.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(DotnetVersion)</TargetFramework>
<TargetFrameworks>$(TargetDotnetVersions)</TargetFrameworks>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(MSBuildProjectDirectory)\bin\</OutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
Expand Down
Loading