Closed Soundman32 closed 2 months ago
@Soundman32 Thanks for bring this to our attention. I have reproduced the problem and I'm working on getting a fix out.
I think the issue is only happening if you have .NET 9 preview installed. That .NET 9 SDK is adding the new NuGet warnings that are causing the failure.
You can work around this by either uninstalling .NET 9 preview or adding global.json file. To add the global.json file you can do the following.
C:\Users\<user-id>\.aws-dotnet-deploy
global.json
dotnet --list-sdks
command. For me this is version 8.0.400
.{
"sdk": {
"version": "sdk-version"
}
}
We'll try and get the PR out as soon as possible so you don't have to do this workaround.
Perfect, that has fixed if for me. Thankyou.
A fix for this issue was released in v1.58.0.0 of the toolkit.
Describe the bug This project was last deployed on 5th August 2024 without problems
Deploying a .NET API project is erroring on the "Deploying AWS CDK project" part with errors:
The project has all references to System.Text.Json upgraded to 8.0.4, which is currently the latest version (and does not have the vunerability).
Warning as errors is turned off.
If I build from the command line or the IDE, in debug or release mode, I do not get this issue. It only happens with aws deploy (UI or command line).
Development System (please complete the following information):