The coding agent seems to aggressively favor net8.0 over net9.0
Describe the bug I've found that typically when I have the coding agent generate a dotnet project from soup to nuts it defaults to net8.0
I've also found that while completely other tasks it will downgrade my project to net8.0 when I'm asking it to do something else.
To Reproduce Steps to reproduce the behavior:
- in an existing, or new empty repostiory, instruct copilot to build something in dotnet. In my case I told it to build something based on Semantic Kernel and here's an example of another project where it defaulted to net8.0 when trying to get it to use net10.0 https://github.com/mattleibow/Maui.Essentials.AI/pull/1
This was part of it's initial steps
Expected behavior coding agent should always default to latest stable and it should be able to use latest preview if instructed.
Screenshots
This is most likely due to the agent not having the most up to date information. Have you tried to tell the agent to always use .NET10.0 in the custom instructions or the copilot set up steps as well?
Overall, agree that the agent should always default to the latest. We're working on some improvements related that can help with this in the future as well.
@PureWeen Update for you here - the Actions team has upgraded the default .NET version to .NET9.0 by default. Closing this out for now. Please feel free to open another issue if needed.