-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Milestone
Description
Version: v9.6
Language: C#, .NET6
Solver: any solver
OS: Windows 11 21H2
CPU: Intel Core i7-1185G7
Downloaded example repo as zip from the installation page which still points to v9.5 and it worked fine. Updating it to v9.6 or creating a new project and installing or-tools 9.6 via nuget raises the following runtime exception:
Unhandled exception. System.TypeInitializationException: The type initializer for 'Google.OrTools.LinearSolver.operations_research_linear_solverPINVOKE' threw an exception.
---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
---> System.DllNotFoundException: Unable to load DLL 'google-ortools-native' or one of its dependencies: The specified module could not be found. (0x8007007E)
Downgrading or-tools to 9.5 via nuget fixes the problem