sdk
sdk copied to clipboard
.NET 6 Preview 6 dotnet workload update command fails with the exception, The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true.
.NET 6 Preview 6 dotnet workload update command fails with the below exception:
Workload update failed: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Environment: Windows 10 21H1
dotnet --version output: 6.0.100-preview.6.21355.2
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Did you by any chance have installed a previous SDK preview and installed workloads for it? While we added update, it won't work with preview 4 and before last I checked and may not work 6->7. It'll work better once we're out of previews and the workload names have all stabilized to their final names.
I have the same issue when upgade my project from 2.2 to .net core 6, When I tried to build source code with visual studio 2022 it shown error as below, Is that the issue fixed on lastest version? (7.0.0 RC 1)
