Skip to content

System.TypeLoadException - .NET Framework 4.7.x / Visual Studio 2017 #5

@nandaccio

Description

@nandaccio

I installed Fortuna 1.0.1 using Nuget, but invoking PRNGFortunaProviderFactory.Create(); always triggers the following exception:

System.TypeLoadException: 'Could not load type 'Fortuna.PRNGFortunaProviderFactory' from assembly 'Fortuna, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.'

at the line highlighted below:

[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FortunaForm());
}

Is there any DLL that must be available or known incompatibilies/issues with VS 2017 / .NET Framework 4.7.2?

This is the list of packages installed along with Fortuna:
2019-08-13 00_34_50-Lister (syn2) -  f__Progetti_ NET_Fortuna_Fortuna_packages config

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions