✅ net 8.0 not installing or something idk
i keep getting these errors in the files in my project
i just installed net 8.0 and cant run my code it says something like (SDK 8.0 cant be targetted)
39 Replies
If only there was a way to know the exact errors you were getting
Wait
if you open a command window in the folder with the project, and run
dotnet build
, does it workHow do i do that exactly with the project
like, open cmd or whatever in that folder
and type in the command
dotnet build
Wait
@reflectronic u smart af
I think it worked
i think you just need to reopen visual studio and then it will work
if that does not work, can you show which version of visual studio you are using from the About window
It's all g
Website opened now
these things still got this yellow shit next to them
do i need to worry about em
does running from visual studio still not work
it works
i can run now without getting an error
if you change the code and then running it does it still not work
like, add a blank line somewhere and try again
it gave error then opened the web page @reflectronic
im confused
did it ask you whether you wanted to run the previous version
nope
that is what it asks
id assume that yes it did then
did you click "Yes"
yes
then it gave the error but still opened the page
ok, well, that's why it opened it
do u know how to fix it
can you show what this window looks like
About -> About Microsoft Visual Studio
your visual studio is way too old
you need to update it
its 2022
ok
ill try to update
yes, you have 17.5, you need 17.8 at least
do i need to uninstall it?
or
no
how do i even update lol
you just need to open Visual Studio Installer
yes, press Update
which
community?
i think i use the normal one
yes, clicking the button labeled "Update" will do what you want
ok updating thx