Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.25.0 C# extension not working - Unity 2021 & 2020 #5252

Closed
furkankahveci opened this issue Jun 4, 2022 · 1 comment
Closed

v1.25.0 C# extension not working - Unity 2021 & 2020 #5252

furkankahveci opened this issue Jun 4, 2022 · 1 comment

Comments

@furkankahveci
Copy link

Issue Type: Bug

Using Unity 2021 & 2020, C# extension old version (ex: v1.24.4) working but v1.25.0 codes not working (IntelliSense), no errors.

Extension version: 1.24.4
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdc:30486549

@filipw
Copy link
Contributor

filipw commented Jun 4, 2022

Please see the announcement https://github.com/OmniSharp/omnisharp-vscode#the-c-extension-no-longer-ships-with-an-included-mono--msbuild-tools

and the related issue #5120

TL;DR

  • ensure .NET SDK 6 is installed
  • for .NET Core (and newer) development this should be enough
  • for Unity / .NET Framework development, set "omnisharp.useModernNet" : false and ensure global MSBuild is installed on your machine - either using VS 2022 Build Tools (Windows) or using latest Mono Preview (*nix)

@filipw filipw closed this as completed Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants