* Fix restore command on workflows.
- Correct path when restoring application packages.
- Add --no-restore for application build.
* Add RuntimeIdentifiers.
So restore knows what packages to pick.
* 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.
Adjust the glob pattern to select only one .nupkg
file.
In #1928 nuget generation changed so that
there's one main nupkg to publish and platform
library artifacts have their own platform specific
ones.
Changes from before:
* Add x86 to build process.
- Use recommended structure for multi-platform nuget.
- Separate build and pack to allow x64 and x86 builds.
- Use matrix in Github Actions to reduce repetition.
* Properly implement multi-platform nuget build.
- Split build pipeline to setting version, building and packing.
- Build AnyCPU only as reference assemblies.
- Add ref folder to nuget.
* Restructure project and pipeline.
Based on PR review discussion.
- Restore default x64,x86 build process.
- Build generates platform specific nupkg.
- Remove AnyCPU platform to prevent confusion.
- Add custom property for building reference libraries.
- AnyCPU is only set by the property.
- Move nuget changes to separate target file.
- Imported only when custom property is set.
- Clear separation from the default build.
- Merge frameworks in published library artifacts.
- Re-simplify pipelines; no matrix or separate jobs.
* Add x86 to build process.
- Use recommended structure for multi-platform nuget.
- Separate build and pack to allow x64 and x86 builds.
- Use matrix in Github Actions to reduce repetition.
* Properly implement multi-platform nuget build.
- Split build pipeline to setting version, building and packing.
- Build AnyCPU only as reference assemblies.
- Add ref folder to nuget.
* Restructure project and pipeline.
Based on PR review discussion.
- Restore default x64,x86 build process.
- Build generates platform specific nupkg.
- Remove AnyCPU platform to prevent confusion.
- Add custom property for building reference libraries.
- AnyCPU is only set by the property.
- Move nuget changes to separate target file.
- Imported only when custom property is set.
- Clear separation from the default build.
- Merge frameworks in published library artifacts.
- Re-simplify pipelines; no matrix or separate jobs.