Skip to content

switch to dotnet build for .NET 8.0 solution and build for arm64#53

Open
BenoitRoux0 wants to merge 2 commits intoalphaleonis:developfrom
BenoitRoux0:develop
Open

switch to dotnet build for .NET 8.0 solution and build for arm64#53
BenoitRoux0 wants to merge 2 commits intoalphaleonis:developfrom
BenoitRoux0:develop

Conversation

@BenoitRoux0
Copy link
Copy Markdown

@BenoitRoux0 BenoitRoux0 commented Mar 25, 2026

This pull request modernizes and refactors the build system for the project, focusing on updating build scripts, configuration, and solution structure to support newer .NET versions and improve cross-platform compatibility. The most significant changes are the introduction of unified cross-platform build scripts, updates for .NET 8 support, and improvements to build configuration and automation.

Build System Modernization and Cross-Platform Support:

  • Added new cross-platform build scripts: introduced build.sh (Bash) and updated build.cmd to delegate to the appropriate platform-specific script, enabling seamless builds on both Windows and Unix-like systems. [1] [2]
  • Refactored build.ps1 to improve error handling, update the .NET install process, and align with the new directory structure (.nuke/temp). Now supports both global and local .NET SDK installs, and adds support for the NUKE Enterprise feed if the token is present. [1] [2]

.NET and Visual Studio Version Upgrades:

  • Updated the solution file AlphaVSS.sln for Visual Studio 18 and .NET 8, including new solution configurations for NET8 and net8d (debug), and updated the build project GUID. Also updated references to nuspec and target files to reflect a new directory structure. [1] [2]
  • Changed the required MSBuild version in Build.cs to [18.4.0,) to match the latest Visual Studio and .NET SDK requirements.

Build Configuration and Automation Enhancements:

  • Introduced .nuke/build.schema.json and .nuke/parameters.json to formalize and document build parameters and schema, improving maintainability and CI/CD integration. [1] [2]
  • Removed the old Azure Pipelines YAML file, indicating a move away from the previous CI/CD pipeline setup.
  • Improved .gitignore in the build directory to exclude build artifacts and temporary folders.

Code Style and Clean-up:

  • Updated .editorconfig to enforce expression-bodied methods for C# code style.
  • Minor clean-up and update of using statements in Build.cs to remove unused imports and add required ones.

Doc Clean-up:

  • Remove usage of deprecated docfx.console.

These changes collectively modernize the build process, improve reliability and cross-platform support, and prepare the project for ongoing development using the latest .NET and Visual Studio tooling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant