Upgrade template to .NET 10 with latest stable packages#26
Upgrade template to .NET 10 with latest stable packages#26
Conversation
…nd create agent instructions Co-authored-by: paulyuk <1968137+paulyuk@users.noreply.github.com>
|
@copilot test local |
Co-authored-by: paulyuk <1968137+paulyuk@users.noreply.github.com>
Completed local testing with Test Results:
Issue Found & Fixed: Fixed in commit: 42f5445 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot flag this breaking change issue and guidance with a new issue in this repo: https://github.com/Azure/azure-functions-dotnet-worker |
I cannot create issues in external repositories directly. However, here's the issue content you can create in Azure/azure-functions-dotnet-worker: Title: Microsoft.ApplicationInsights.WorkerService 3.0.0 incompatible with Azure Functions Worker - Breaking change Description: Error: Root Cause: Workaround:
Impact: Recommendation: |
Template upgraded from .NET 8 to .NET 10. All NuGet packages updated to latest stable versions. Agent instructions added with requirement to ground version decisions in official Azure Functions documentation.
Configuration Updates
Framework target (6 files):
http/http.csproj:net8.0→net10.0infra/main.bicep:runtimeVersion: '8.0'→'10.0'README.md,.vscode/tasks.json,.vscode/settings.json,azure.yaml: path and reference updatesNuGet packages (stable versions with compatibility fix):
Important:
Microsoft.ApplicationInsights.WorkerServiceuses version 2.22.0 instead of 3.x because version 3.0.0 introduces breaking changes with OpenTelemetry migration that are incompatible with the current Azure Functions Worker. Version 2.22.0 is the latest stable 2.x release and works correctly with all Functions Worker packages.Agent Instructions
Created
.github/agents/copilot.mdand.github/agents/claude.mdwith:Testing
func startsuccessful on .NET 10.0.2Security model (managed identity, TLS 1.2, optional VNet) and architecture (isolated worker, Flex Consumption) unchanged.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.