Skip to content

Omnisharp issues with generated project #651

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

Closed
dewinterjack opened this issue Dec 10, 2021 · 2 comments
Closed

Omnisharp issues with generated project #651

dewinterjack opened this issue Dec 10, 2021 · 2 comments

Comments

@dewinterjack
Copy link

dewinterjack commented Dec 10, 2021

I am running the generated project from dotnet script init, only adding a dependency.

image

I've seen some scripts set the framework at the top but I assume this is correct as that is how it was generated for me. What can I do about these errors?

When I add the dependency I restart omnisharp, it recognises the dependency for a moment and then these errors appear.

This is on a Mac and the script runs fine I just don't know why vscode and omnisharp is having issues

@filipw
Copy link
Member

filipw commented Dec 10, 2021

At the moment there is a mismatch between latest .NET 6 dotnet-script and current version of OmniSharp. It will be fixed soon, hopefully in the next OmniSharp release

@filipw
Copy link
Member

filipw commented Feb 1, 2023

This was resolved in OmniSharp.

@filipw filipw closed this as completed Feb 1, 2023
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