Skip to content

fix: update Azure Pipeline for .NET 8 and Blazor WASM compatibility#372

Merged
Jadhielv merged 4 commits into
masterfrom
chore/update-azure-pipeline-dotnet8
Aug 27, 2025
Merged

fix: update Azure Pipeline for .NET 8 and Blazor WASM compatibility#372
Jadhielv merged 4 commits into
masterfrom
chore/update-azure-pipeline-dotnet8

Conversation

@Jadhielv
Copy link
Copy Markdown
Collaborator

General

This PR resolves CodeQL autobuild failures in the Azure Pipeline by updating the pipeline configuration to be compatible with .NET 8 and Blazor WebAssembly projects.

Type

☑️ What types of changes does your code introduce?

  • Fix
  • Feature

Describe the changes here (summarized)

Problem:

  • CodeQL autobuild was failing due to version mismatches between .NET SDK (8.0.119) and WebAssembly packages (9.x.x versions)
  • Build errors: Could not load file or assembly 'System.Runtime, Version=9.0.0.0'
  • Pipeline was using outdated .NET version and missing WebAssembly workload

Changes made:

  • Updated .NET SDK version to 8.0.119 for consistency with project requirements
  • Added WebAssembly workload installation (wasm-tools) to handle Blazor WASM dependencies
  • Implemented NuGet package caching for improved build performance
  • Fixed variable naming consistency (buildConfiguration vs BuildConfiguration)
  • Added explicit NuGet restore step before build process
  • Configured conditional artifact publishing (only on master branch)
  • Updated build configuration to use Release mode for better performance

Expected outcome:

  • Resolves CodeQL autobuild failures
  • Faster pipeline execution due to NuGet caching
  • More reliable Blazor WebAssembly builds
  • Better pipeline organization and maintainability

Fixes build issues mentioned in #368

@Jadhielv Jadhielv merged commit 275fea1 into master Aug 27, 2025
4 checks passed
@Jadhielv Jadhielv deleted the chore/update-azure-pipeline-dotnet8 branch August 27, 2025 14:25
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