Skip to content

SKD ERROR #1336

Closed Answered by TheCodeTraveler
salisou asked this question in Q&A
Aug 10, 2023 · 2 comments · 12 replies
Discussion options

You must be logged in to vote

I have 7.0.400 and .net 8 and while global.json is set 7.0.300 for example, I cannot build the project.

I haven't tested this to confirm, but here's my hunch: our global.json includes "rollForward": "latestMajor" + "allowPrerelease": false and you have .NET 8 prerelease installed on your machine.

.NET should use the latestMajor non-prerelease version of .NET installed on your machine, but it sounds like it sees that the newest version of .NET is a prerelease and fails instead.

This sounds like a .NET bug.

I'll look into it to see if there's a solution.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@VladislavAntonyuk
Comment options

@VladislavAntonyuk
Comment options

@TheCodeTraveler
Comment options

@TheCodeTraveler
Comment options

Answer selected by salisou
@pictos
Comment options

pictos Aug 10, 2023
Collaborator

@salisou
Comment options

@salisou
Comment options

@TheCodeTraveler
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants