Strange diagnostics errors, prefedined type System… is not defined or imported
I am getting Roslyn diagnostics errors when parsing a very basic .NET 4.6 application. The solution files can be downloaded from there https://github.com/dotnet/roslyn/files/2393288/DemoSolution.zip The dependency tree looks like this: BLL -> DB I am getting the following diagnostics errors in the BLL project: The solution and projects build fine, still Roslyn gives these errors. Maybe the errors are misleading and I need to configure the projects in someway? Any idea how I can resolve these errors? Here is the code used for parsing the files: var properties = new Dictionary<string, string> {