Or-tools: Google.OrTools.dll not found

Created on 7 Sep 2019  Â·  10Comments  Â·  Source: google/or-tools

I use VS2019 on Windows to add Nuget Package Google.OrTools to my .Net Standard project. Running the code I experience following exception:

System.IO.FileNotFoundException: 'Could not load file or assembly 'Google.OrTools, Version=7.3.7083.0, Culture=neutral, PublicKeyToken=77370d3086a71853' or one of its dependencies. The system cannot find the file specified.'

I found that others used to have similar problems and added a reference to Google.OrTools.dll manually. As I was not able to find that file anywhere it was not a solution to me. After downloading the windows package I checked if I can find the missing file there...unfortunately not.

Can you please provide direction for that problem.

Andreas

Help Needed .NET Windows

Most helpful comment

Normally today, provided the builds are OK.
Laurent Perron | Operations Research | [email protected] | (33) 1 42 68 53
00

Le ven. 11 oct. 2019 à 15:16, Merlijn notifications@github.com a écrit :

When will the next version be released? I'm in need for the support for
.NET Framework (instead of .NET Core).

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1558?email_source=notifications&email_token=ACUPL3OCRAGATF6DBHYEEMDQOB4D3A5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA762HA#issuecomment-541060380,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3J4DQQWHG25X7WB6ILQOB4D3ANCNFSM4IUQ5EAA
.

All 10 comments

Make sure your project targets dotnet core 2.0

Le sam. 7 sept. 2019 à 20:33, CubusAnderl notifications@github.com a
écrit :

I use VS2019 on Windows to add Nuget Package Google.OrTools to my .Net
Standard project. Running the code I experience following exception:

System.IO.FileNotFoundException: 'Could not load file or assembly
'Google.OrTools, Version=7.3.7083.0, Culture=neutral,
PublicKeyToken=77370d3086a71853' or one of its dependencies. The system
cannot find the file specified.'

I found that others used to have similar problems and added a reference to
Google.OrTools.dll manually. As I was not able to find that file anywhere
it was not a solution to me. After downloading the windows package I
checked if I can find the missing file there...unfortunately not.

Can you please provide direction for that problem.

Andreas

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1558?email_source=notifications&email_token=ACUPL3N4H4FBYRM2U3SXJDTQIPXW5A5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ67J3Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3MDO53IYD4I3AB7HPDQIPXW5ANCNFSM4IUQ5EAA
.

And that your project is 64 bit.

Le sam. 7 sept. 2019 à 20:46, Laurent Perron lperron@google.com a écrit :

Make sure your project targets dotnet core 2.0

Le sam. 7 sept. 2019 à 20:33, CubusAnderl notifications@github.com a
écrit :

I use VS2019 on Windows to add Nuget Package Google.OrTools to my .Net
Standard project. Running the code I experience following exception:

System.IO.FileNotFoundException: 'Could not load file or assembly
'Google.OrTools, Version=7.3.7083.0, Culture=neutral,
PublicKeyToken=77370d3086a71853' or one of its dependencies. The system
cannot find the file specified.'

I found that others used to have similar problems and added a reference
to Google.OrTools.dll manually. As I was not able to find that file
anywhere it was not a solution to me. After downloading the windows package
I checked if I can find the missing file there...unfortunately not.

Can you please provide direction for that problem.

Andreas

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1558?email_source=notifications&email_token=ACUPL3N4H4FBYRM2U3SXJDTQIPXW5A5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ67J3Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3MDO53IYD4I3AB7HPDQIPXW5ANCNFSM4IUQ5EAA
.

Works with .Net Core
However I need to target .Net Standard or .Net Framework. Any chances to get Google Or Tools run for these?

Next release should target 4.5.2 and above.

See https://github.com/google/or-tools/pull/1500
Laurent Perron | Operations Research | [email protected] | (33) 1 42 68 53
00

Le sam. 7 sept. 2019 à 23:37, CubusAnderl notifications@github.com a
écrit :

Works with .Net Core
However I need to target .Net Standard or .Net Framework. Any chances to
get Google Or Tools run for these?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1558?email_source=notifications&email_token=ACUPL3KQW7SMV76SPUS2IHLQIQNJXA5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FCW5I#issuecomment-529148789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3IM2MMFT45ZGE4DUGLQIQNJXANCNFSM4IUQ5EAA
.

That's awesome. I am excited to have it available for my project soon. According to latest release schedule I am positive that we find a new version with in the next few days.

Thanks for your amazing work Laurent!

Andreas

When will the next version be released? I'm in need for the support for .NET Framework (instead of .NET Core).

EDIT: nevermind. I just the last reply on the pull request. Mid october at the earliest...

Normally today, provided the builds are OK.
Laurent Perron | Operations Research | [email protected] | (33) 1 42 68 53
00

Le ven. 11 oct. 2019 à 15:16, Merlijn notifications@github.com a écrit :

When will the next version be released? I'm in need for the support for
.NET Framework (instead of .NET Core).

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1558?email_source=notifications&email_token=ACUPL3OCRAGATF6DBHYEEMDQOB4D3A5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA762HA#issuecomment-541060380,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3J4DQQWHG25X7WB6ILQOB4D3ANCNFSM4IUQ5EAA
.

Same scenario as OP, new version, still getting "File not found Exception"
.Net Framework 4.7.2

Are you in 64 bit ?

Le ven. 11 oct. 2019 à 18:55, John Alejandro Zapata <
[email protected]> a écrit :

Same scenario as OP, new version, still getting "File not found Exception"
.Net Framework 4.7.2

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1558?email_source=notifications&email_token=ACUPL3MJX67KVJ5WDOXZC2TQOCVZFA5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBAS43I#issuecomment-541142637,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3MRYS5WOLWN3NHR7X3QOCVZFANCNFSM4IUQ5EAA
.

Are you in 64 bit ? Le ven. 11 oct. 2019 à 18:55, John Alejandro Zapata < [email protected]> a écrit :
…
Same scenario as OP, new version, still getting "File not found Exception" .Net Framework 4.7.2 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1558?email_source=notifications&email_token=ACUPL3MJX67KVJ5WDOXZC2TQOCVZFA5CNFSM4IUQ5EAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBAS43I#issuecomment-541142637>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUPL3MRYS5WOLWN3NHR7X3QOCVZFANCNFSM4IUQ5EAA .

I was running in Any CPU, my bad,
i actually had to start a new wrapper with python as my project cant run in 64 bit because of another dependency.

Thank you Mr Perron.

Edit: I Just tested with the project, disabling the x86 module and it works wonders.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nosrettep picture nosrettep  Â·  5Comments

KeremAslan picture KeremAslan  Â·  3Comments

frodrigo picture frodrigo  Â·  5Comments

unfuse picture unfuse  Â·  5Comments

karomad picture karomad  Â·  3Comments