Skip to content

Fix: Resolve all build warnings#6

Merged
jzills merged 3 commits into
developfrom
fix/resolve-build-warnings
May 6, 2026
Merged

Fix: Resolve all build warnings#6
jzills merged 3 commits into
developfrom
fix/resolve-build-warnings

Conversation

@jzills

@jzills jzills commented May 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Updated Microsoft.Extensions.Caching.Memory from 8.0.0 to 8.0.1 to address security vulnerability (NU1903)
  • Removed incompatible Microsoft.AspNet.WebApi package targeting .NET Framework (NU1701)
  • Modernized test setup code to use WebApplication instead of deprecated WebHostBuilder
  • Fixed nullable reference warnings by making properties nullable in data models

Build now succeeds with 0 warnings and 0 errors.

Test plan

  • Run dotnet build to verify no warnings appear
  • Run dotnet test to verify all tests pass

jzills added 3 commits May 4, 2026 21:04
- Update Microsoft.Extensions.Caching.Memory from 8.0.0 to 8.0.1 to address vulnerability NU1903
- Remove Microsoft.AspNet.WebApi package (NU1701) incompatible with .NET 8.0
- Modernize test setup code to use WebApplication instead of deprecated WebHostBuilder
- Fix nullable reference warnings by making properties nullable in data models

Build now succeeds with 0 warnings.
…pattern

Replace deprecated WebHostBuilder + TestServer(IWebHostBuilder) with
WebApplication.CreateBuilder() + builder.WebHost.UseTestServer() across
all HTTP server integration tests. Adds AddApplicationPart to register
the test assembly so MVC controllers are discovered at runtime.
@jzills jzills merged commit bec23ee into develop May 6, 2026
4 checks passed
@jzills jzills deleted the fix/resolve-build-warnings branch May 6, 2026 02:41
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