I encountered build failure with the following 4 errors when using either the master branch or tag:v3.10.0. Tag v3.5.0 builds fine. I am using Ubuntu 18.04 and dotnet-sdk-2.1.
Messages/Nirvana/NirvanaConfig.cs(23,13): error CS8652: The feature 'static local functions' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/Cloud/Cloud.csproj]
Downloader -> /opt/Nirvana/bin/Release/netcoreapp2.1/Downloader.dll
...
MitoHeteroplasmyReader.cs(21,13): error CS8652: The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/MitoHeteroplasmy/MitoHeteroplasmy.csproj]
MitoHeteroplasmyReader.cs(24,13): error CS8652: The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/MitoHeteroplasmy/MitoHeteroplasmy.csproj]
MitoHeteroplasmyReader.cs(25,13): error CS8652: The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/MitoHeteroplasmy/MitoHeteroplasmy.csproj]
Please be advised what I should do to make it work.
Hi,
I encountered build failure with the following 4 errors when using either the master branch or tag:v3.10.0. Tag v3.5.0 builds fine. I am using Ubuntu 18.04 and dotnet-sdk-2.1.
Messages/Nirvana/NirvanaConfig.cs(23,13): error CS8652: The feature 'static local functions' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/Cloud/Cloud.csproj] Downloader -> /opt/Nirvana/bin/Release/netcoreapp2.1/Downloader.dll ... MitoHeteroplasmyReader.cs(21,13): error CS8652: The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/MitoHeteroplasmy/MitoHeteroplasmy.csproj] MitoHeteroplasmyReader.cs(24,13): error CS8652: The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/MitoHeteroplasmy/MitoHeteroplasmy.csproj] MitoHeteroplasmyReader.cs(25,13): error CS8652: The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version. [/opt/Nirvana/MitoHeteroplasmy/MitoHeteroplasmy.csproj]
Please be advised what I should do to make it work.
Thanks! Jerry