Closed xiangzhi closed 3 years ago
Upon more testing, the compiling would work if I have the dotnet-sdk-5.0
sdk installed. I'm still puzzled by the fact that we can set a package as netstandard2.0
but use C# 9 features.
Ah, that's because C# 9 is a language (compiler) feature which you get when you install the new .NET5 SDK, but that is independent of the framework you're targeting (e.g. netstandard2.0
).
Make sense! I guess we should edit the wiki/readme to change it to .NET5 SDK :)
Make sense! I guess we should edit the wiki/readme to change it to .NET5 SDK :)
Done!
I was trying to compile the source code from scratch when I ran into the following build error:
I actually started on a Mac system but the print out above came from a 20.04 Ubuntu System. The error seemed to be coming from the usage
is not
pattern inMicrosoft.Psi.Data.Importer.cs
that was added in the latest version.As far as I can tell the
is not
pattern was only included in C# 9.0 which is not part of .NET standard 2.0. I'm not sure why it didn't throw an error on Windows machines.