Skip to content

Commit

Permalink
add .net8, arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
d2phap committed Oct 7, 2023
1 parent 9d6c656 commit 1bdc50d
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 3 deletions.
3 changes: 2 additions & 1 deletion v9/Components/ImageGlass.Base/ImageGlass.Base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-x64" Version="13.3.0" />
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-x64" Version="13.3.0" Condition="'$(Platform)' == 'x64'" />
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-arm64" Version="13.3.0" Condition="'$(Platform)' == 'ARM64'" />
<PackageReference Include="Magick.NET.SystemDrawing" Version="7.1.0" />
<PackageReference Include="Magick.NET.SystemWindowsMedia" Version="7.1.0" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2045.28" />
Expand Down
3 changes: 2 additions & 1 deletion v9/ImageGlass.sln
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ Global
{96A8D885-BB41-428F-90F5-021F345B4166}.Debug|ARM64.ActiveCfg = Debug|x64
{96A8D885-BB41-428F-90F5-021F345B4166}.Debug|x64.ActiveCfg = Debug|x64
{96A8D885-BB41-428F-90F5-021F345B4166}.Debug|x64.Build.0 = Debug|x64
{96A8D885-BB41-428F-90F5-021F345B4166}.Publish_Release|ARM64.ActiveCfg = Publish_Release|x64
{96A8D885-BB41-428F-90F5-021F345B4166}.Publish_Release|ARM64.ActiveCfg = Publish_Release|ARM64
{96A8D885-BB41-428F-90F5-021F345B4166}.Publish_Release|ARM64.Build.0 = Publish_Release|ARM64
{96A8D885-BB41-428F-90F5-021F345B4166}.Publish_Release|x64.ActiveCfg = Publish_Release|x64
{96A8D885-BB41-428F-90F5-021F345B4166}.Publish_Release|x64.Build.0 = Publish_Release|x64
{96A8D885-BB41-428F-90F5-021F345B4166}.Release|ARM64.ActiveCfg = Release|x64
Expand Down
1 change: 0 additions & 1 deletion v9/ImageGlass/ImageGlass.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<ImplicitUsings>enable</ImplicitUsings>
<Platforms>x64;ARM64</Platforms>
<ApplicationIcon>icon256.ico</ApplicationIcon>
<PlatformTarget>x64</PlatformTarget>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>

<AssemblyTitle>ImageGlass Moon</AssemblyTitle>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Publish_Release</Configuration>
<Platform>ARM64</Platform>
<PublishDir>bin\Publish\net8.0-windows-arm64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>
18 changes: 18 additions & 0 deletions v9/ImageGlass/Properties/PublishProfiles/net8.0-windows-x64.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Publish_Release</Configuration>
<Platform>x64</Platform>
<PublishDir>bin\Publish\net8.0-windows-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>
18 changes: 18 additions & 0 deletions v9/igcmd/Properties/PublishProfiles/net8.0-windows-arm64.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Publish_Release</Configuration>
<Platform>ARM64</Platform>
<PublishDir>..\..\v9\ImageGlass\bin\Publish\net8.0-windows-arm64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>
18 changes: 18 additions & 0 deletions v9/igcmd/Properties/PublishProfiles/net8.0-windows-x64.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Publish_Release</Configuration>
<Platform>x64</Platform>
<PublishDir>..\..\v9\ImageGlass\bin\Publish\net8.0-windows-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>

0 comments on commit 1bdc50d

Please sign in to comment.