#Setting VS Code

1 messages · Page 1 of 1 (latest)

pure sable
#

Hello @bold harbor

#

okay for vs code setup you need to install a decent amount of dependencies

bold harbor
#

hello everyone who needs this

#

so i downloaded vs code then NET Core

pure sable
#

install the .net core sdk

#

MAKE SURE

#

YOU DON'T install

#

.net 6.0

#

wait actually

#

let me check mine

#

you're using the latest version of unity?

#

and vs code?

bold harbor
#

the recommended version of unity

#

2021.3.1f1

pure sable
#

yeah basically latest

#

okay so

#

go here, install .net 5.0

bold harbor
#

then i downloaded C# Extension in VS Code

bold harbor
#

i just dont know what version

pure sable
#

okay

#

do this

#

using windows?

bold harbor
#

yes

pure sable
#

go to start menu/settings, type add or remove programs, and in the search for programs options, type .net

#

like so

#

as you can see my .net sdk is 5.0

bold harbor
pure sable
#

okay so you 6.0 sdk, which doesn't work with unity

#

uninstall it and install the 5.0 version

bold harbor
#

what about the other versions that you see?

pure sable
#

see i'd think it's safer if you get rid of them, in case of version conflicts

bold harbor
#

ill remove all of them, even net framework

pure sable
#

yeah

#

we can reinstall em if needed, dw

bold harbor
#

bro it taking too long to uninstall these

#

do i have to uninstall them before i download NET 5.0

pure sable
#

you don't need to, but it will make things a lot easier

#

because then you don't have to ask vs code which version it needs everytime

bold harbor
#

ok just give me 2 mins them i'll download net 5.0

pure sable
#

okay

bold harbor
#

i just need to know why cant i have NET Core SDK 6.0?

#

nvm then

#

alright imma download 6.0

pure sable
#

i found a official site somewhere

#

saying unity and some other apps don't support .net 6.0

#

okay this is weird

#

i'm looking at forums and some are saying unity does plan to work with .net 6.0

#

but honestly and i'm not sure, and i'm just sharing my setup, which worked

#

so if you want to try with 6.0 go ahead, i'm not sure i can help if there are any errors is all

bold harbor
#

Yo

#

I uhhh

#

I gotta go sleep

#

I'll continue tomorrow

pure sable
#

it's okay, just let me outline a few steps you'll see tmrw

bold harbor
#

I'm sorry btw

#

For wasting your time helping me

pure sable
#

basically, install 5.0 sdk, then install 4.7.1 dev pack and then some more config

#

nws, i'm just happy someone doesn't have to go through the same pain i did

#

trying to set this up

bold harbor
#

Yeah I went through a lot of pain for months

#

Searching on yt

#

Videos that have wasted my time

pure sable
#

there's a lot of really old vids

#

forums are probably a better bet

bold harbor
#

Yeah

#

Ok i gotta go now

#

I'll dm you tomorrow

#

Enjoy Valorant

pure sable
#

haha i forgot about that