* Add ARM64 platform support to build and projects Added ARM64 as a supported platform in project files and solution configuration. Updated GitHub Actions workflows to build and publish ARM64 libraries. This enables building and distributing ARM64 binaries alongside x64 and x86. * Add ARM64 support to NuGet packaging Updated main.nuget.target to include ARM64 DLL and XML files in the NuGet package, enabling multi-platform support for win-arm64 in addition to x64 and x86. * Fix ARM64 configuration mappings in solution file Corrects the Debug and Release configuration mappings for ARM64 targets in LibreHardwareMonitor.sln, ensuring ARM64 builds use the proper platform instead of x64.
83 lines
3.4 KiB
XML
83 lines
3.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
|
<PropertyGroup>
|
|
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
|
<Platforms>x64;x86;ARM64</Platforms>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net472</TargetFramework>
|
|
<AssemblyName>LibreHardwareMonitor</AssemblyName>
|
|
<AssemblyTitle>Libre Hardware Monitor</AssemblyTitle>
|
|
<Copyright>LibreHardwareMonitor</Copyright>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<ApplicationIcon>Resources\icon.ico</ApplicationIcon>
|
|
<ApplicationManifest>Resources\app.manifest</ApplicationManifest>
|
|
<StartupObject>LibreHardwareMonitor.Program</StartupObject>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<OutputPath>..\bin\$(Configuration)\</OutputPath>
|
|
<LangVersion>latest</LangVersion>
|
|
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<DebugType>full</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<DebugType>none</DebugType>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Text.Json" Version="9.0.9" />
|
|
<PackageReference Include="System.Resources.Extensions" Version="9.0.9" />
|
|
<PackageReference Include="TaskScheduler" Version="2.12.2" />
|
|
<PackageReference Include="OxyPlot.Core" Version="2.2.0" />
|
|
<PackageReference Include="OxyPlot.WindowsForms" Version="2.2.0" />
|
|
<PackageReference Include="System.Management" Version="9.0.9" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System.Web" />
|
|
<Reference Include="System.Configuration.Install" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Update="UI\AboutBox.Designer.cs">
|
|
<DependentUpon>AboutBox.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="UI\AuthForm.Designer.cs">
|
|
<DependentUpon>AuthForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="UI\MainForm.Designer.cs">
|
|
<DependentUpon>MainForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="UI\ParameterForm.Designer.cs">
|
|
<DependentUpon>ParameterForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="UI\InterfacePortForm.Designer.cs">
|
|
<DependentUpon>InterfacePortForm.cs</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="UI\AboutBox.resx">
|
|
<DependentUpon>AboutBox.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="UI\AuthForm.resx">
|
|
<DependentUpon>AuthForm.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="UI\MainForm.resx">
|
|
<DependentUpon>MainForm.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="UI\ParameterForm.resx">
|
|
<DependentUpon>ParameterForm.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="UI\InterfacePortForm.resx">
|
|
<DependentUpon>InterfacePortForm.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Aga.Controls\Aga.Controls.csproj" />
|
|
<ProjectReference Include="..\LibreHardwareMonitorLib\LibreHardwareMonitorLib.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Resources\**" />
|
|
<None Include="Resources\app.manifest" />
|
|
<None Include="Resources\icon.ico" />
|
|
</ItemGroup>
|
|
</Project>
|