-
Notifications
You must be signed in to change notification settings - Fork 420
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
.NET Core 3.0 preview 6, unreferenced System error. #1541
Comments
Can you please provide your omnisharp log and a repro project? thanks! |
About project. It happens to any .NET Core 3.0 project. Even if you create new .NET Core 3.0 prev 6 project, it says same thing.
|
@filipw could this be related somehow? |
yep that's that. The new .NET Core 3.0 preview6+
|
actually I had a quick look at this, and the real bug is that OminSharp prefers the VS 2017 msbuild instance over the stand alone embedded one in this case. |
I am using .NET Core 3.0 and it seems that I keep getting
Predefined type 'System.Object' is not defined or imported
when I define class,Predefined type 'System.{Some type name here}' is not defined or imported
when using any predefined type(void, string, int, etc.) andThe type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
when I useusing
directive withSystem
namespace in it. It seems to be only omnisharp problem, since I can compile project and run it quite easily, without errors. It's probably caused bySystem
no longer being inproject.assets.json
or something else.The text was updated successfully, but these errors were encountered: