C#
C#

help

Root Question Message

sydney
sydney9/26/2022
Unable to resolve the .NET SDK version as specified

hi all, im trying to build an asp net project but got this message
Unable to resolve the .NET SDK version as specified in the global.json located at ...


i try to list down the net version in my system, i have the version 3.xx, 5.xx, and 6.xx

and i checked the project require net 6.xx version, but why is it still giving me this error message? does anybody know why?
Wz
Wz9/26/2022
What's in the global.json
sydney
sydney9/26/2022
inside the global.json it's this version 6.0.302 and in my system it's 6.0.300,

do i have to install the 6.0.4xx version?
sydney
sydney9/26/2022
bcs i saw in the microsoft download page there's no 6.0.302 one..
sydney
sydney9/26/2022
Wz
Wz9/26/2022
for the 300 band
Wz
Wz9/26/2022
the global json is requiring 302 at minimum, I think the default allows patch increments
Wz
Wz9/26/2022
or you can just change the entry in the json to 300
sydney
sydney9/26/2022
ohhh... that works!!
sydney
sydney9/26/2022
thank you! 🙏
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy