ci: convert solution to classic .sln for .NET 8 SDK compatibility #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What does this PR do?
Fixes the failing CI build on the Forgejo runner. The runner uses the .NET 8.0 SDK, which cannot parse the
.slnx(XML) solution format introduced in the .NET 9 SDK. A baredotnet restore/buildfrom the repo root failed withMSB1003: Specify a project or solution filebecause the SDK did not recogniseVigilanceSentinel.slnxas a solution file.This PR replaces
VigilanceSentinel.slnxwith a classicVigilanceSentinel.slnthat the .NET 8 SDK reads. The build workflows stay on a single8.0.xSDK and the test project stays onnet8.0, so tests run on the same runtime the application ships on. It also adds the Build and Test status badge to the README.How was this tested?
dotnet restore/dotnet build -c Release/dotnet testpass under a pinned8.0.319SDK (the runner's scenario) - 0 warnings, 0 errors, 1 test passingdev(commit56f5caa) completed successfullyChecklist
.NET 8.0 SDK or later)