SigningValidation is failing if repo has 7.0.100-preview.4+ in `global.json`
See original GitHub issue- This issue is blocking
- This issue is causing unreasonable pain
If repo has global.json with SDK version that includes https://github.com/dotnet/sdk/pull/23302 for example 7.0.100-preview.4.22178.9
. It fails to pass SigningValidation
with Version 7.0.100-preview.4.22178.9 of the .NET SDK requires at least version 17.0.0 of MSBuild. The current available version of MSBuild is 16.10.0.26302. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available error.
Reason for that is because SigningValidation step calls sdk-task.ps1 which has hardcoded 16.10.0-preview2
version of RoslynTools.MSBuild.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
NETSDK1141: Unable to resolve the .NET SDK version as ...
Learn about .NET SDK error NETSDK1141, which occurs when the SDK version could not be resolved in global.json.
Read more >wasm-tools workload installation fails randomly · Issue ...
The installation for the performace CI builds is failing randomly like here ...
Read more >Unable to locate the .NET SDK as specified by global.json ...
I fixed this problem after discovering a global.json file at the directory root of a C# solution. This json file specified a specific...
Read more >PowerShell Core 7.3.6 - freshcode.club
PowerShell Core is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is ...
Read more >How to change the target dotnet SDK with global json ...
Demo Repo https://github.com/Chronostasys/Blazor.Cropper DotNet SDK versions ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @DavidKarlas ! as it was my first time making this package I was nervous, glad it worked.
Kicked off new Arcade bump on templating repo and pushed Revert of workaround commits it passed: https://github.com/dotnet/templating/pull/4644
Also this will pass: https://dev.azure.com/dnceng/internal/_build/results?buildId=1738487&view=results
This can be closed, tnx!