Skip to content

Target net8.0-windows and pin .NET 8-compatible packages for AgentService#3

Open
SmartNuvem wants to merge 1 commit into
mainfrom
codex/fix-build-errors-in-agentservice-bvpw02
Open

Target net8.0-windows and pin .NET 8-compatible packages for AgentService#3
SmartNuvem wants to merge 1 commit into
mainfrom
codex/fix-build-errors-in-agentservice-bvpw02

Conversation

@SmartNuvem

Copy link
Copy Markdown
Owner

Motivation

  • Resolve NU1100 NuGet resolution errors by using the generic Windows TFM for .NET 8 and ensuring Windows Service compatibility so published packages (e.g. Microsoft.Data.Sqlite, Polly.Extensions.Http, Serilog) restore correctly.

Description

  • Updated src/AgentService/AgentService.csproj to target net8.0-windows, kept <UseWindowsService>true</UseWindowsService>, added a clarifying comment, and ensured package references are set to .NET 8-compatible majors (Microsoft.Data.Sqlite 8.0.7, Microsoft.Extensions.Hosting.WindowsServices 8.0.0, Polly.Extensions.Http 3.0.0, Serilog.AspNetCore 8.0.2, Serilog.Sinks.File 5.0.0).

Testing

  • Ran dotnet build -c Release to validate the project, but the check could not complete in this environment because dotnet is not installed (command not found).

Codex Task

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