Home General
Options

CS0518 Predefined type 'System.String' is not defined or imported - Can't run any queries

LinqPad was working fine until last night.Just tried to run a query, and I get the error shown above. I also get wads of errors of the form...

Reference 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.ref\9.0.5\ref\net9.0\System.Numerics.dll' does not exist. Press F4 to fix.
Reference 'C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.ref\9.0.5\ref\net9.0\UIAutomationProvider.dll' does not exist. Press F4 to fix.

There are mases of these.

Don't know if it's relevant, but I updated Visual Studio last night.

Either way, anyone know how I fix this? I can't use LinqPad at the moment, and that's serious!

Thanks

Comments

Sign In or Register to comment.