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

Intellisense broken after upgrading to 7.1 #220

Closed
lassevk opened this issue Jun 27, 2024 · 3 comments
Closed

Intellisense broken after upgrading to 7.1 #220

lassevk opened this issue Jun 27, 2024 · 3 comments

Comments

@lassevk
Copy link

lassevk commented Jun 27, 2024

I went from 6.1 to 7.1, and after that there is no working intellisense.

I see previous mentions about intellisense not working when .NET 7 is not installed, does the new version require .NET 9 preview to be installed, since it mentions supporting it?

@tareqimbasher
Copy link
Owner

No it does not require .NET 9, but it requires .NET 7 to be installed. It was a goof on my part of mistakenly including a global.json file in the packaged app that requires .NET 7 to be installed. OmniSharp reads that and will only work if .NET 7 is installed. New version will be released in the next few days hopefully, and will resolve the issue. For now you can just delete the global.json file from your installation or install .NET 7.

@tareqimbasher
Copy link
Owner

@lassevk v0.7.2 is released with this bug fixed!

@jwallet
Copy link
Contributor

jwallet commented Jul 4, 2024

it was not enough for me even with net core version 7, on my mac,
it is still an issue in v0.7.2

➜  dotnet --list-sdks
6.0.421 [/usr/local/share/dotnet/sdk]
7.0.201 [/usr/local/share/dotnet/sdk]
8.0.100 [/usr/local/share/dotnet/sdk]
8.0.101 [/usr/local/share/dotnet/sdk]
8.0.201 [/usr/local/share/dotnet/sdk]
8.0.203 [/usr/local/share/dotnet/sdk]
8.0.204 [/usr/local/share/dotnet/sdk]
8.0.302 [/usr/local/share/dotnet/sdk]

I had to delete many netpad local app data files in order to make the omnisharp work again.

bottom-right corner of main window, there is a settings icon ⚙️ , this opens a modal, in the bottom left corner you will find "Open Add Data Folder"

  • settings.json
  • key-values.txt
  • Logs (folder)
  • Omnisharp (folder)

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

3 participants