question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MattGalcommented, Apr 26, 2022

Thanks @DavidKarlas ! as it was my first time making this package I was nervous, glad it worked.

0reactions
DavidKarlascommented, Apr 26, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found