dotnetbio / bio

Bioinformatics library for .NET
Apache License 2.0
143 stars 49 forks source link

The type initializer for 'Bio.Alphabets' threw an exception #22

Closed ambi1999 closed 7 years ago

ambi1999 commented 7 years ago

Hi,

I am getting following error even in basic code using dotnetbio on windows and visual stduio 2015 community edition.

Code: // Create two sequences; normally you'd have this already. ISequence dna1 = new Sequence(Alphabets.AmbiguousDNA, "ACTGAAGGATATTA");

Error message The type initializer for 'Bio.Alphabets' threw an exception.

Thx for your help, Ambi.

evolvedmicrobe commented 7 years ago

Hi Ambi,

Do you have a longer stack trace for this message? It's hard to tell what's going on from just this, though it may be related to some missing PCL libraries.

Cheers, Nigel

evolvedmicrobe commented 7 years ago

Am closing this issue. I also just committed a change that moves away from the PCLs in preparation of the upcoming .NET Core transition.