Illumina / Nirvana

The nimble & robust variant annotator
https://illumina.github.io/NirvanaDocumentation/
GNU General Public License v3.0
170 stars 44 forks source link

Build failure on Ubuntu #36

Closed jerryliu2005 closed 3 years ago

jerryliu2005 commented 4 years ago

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

jerryliu2005 commented 3 years ago

I solved my own problem. I installed dotnet-sdk-3.1 and the error went away and built v3.11.1 successfully.