question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unclear how to get working with mono

See original GitHub issue

I saw on twitter that bstrings.exe should work with latest mono version. When I try to run it I get:

$ bstrings.exe 

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c' or one of its dependencies.
File name: 'NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c' or one of its dependencies.
File name: 'NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c'

NLog is not packaged in Ubuntu’s repository and googling for instructions on how to install NLog for Mono on Linux yields imprecise information for someone not familiar with .net/mono’s terminology.

Looking at packages.config I guess we need to install FluentCommandLineParser also.

Can’t these be inlined at build time or provided as .dll? Or mono install/build instructions provided? Thanks!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
EricZimmermancommented, Jan 19, 2018

no, because it is a GUI program and you would need $800+ of 3rd party controls to compile it. Time to run a VM of Windows i think =)

0reactions
DanielCasalicommented, Jun 11, 2020

I have mono 6.8.0.96, I did fixed that error but now past that I got 2020-06-11 20:55:37.0332||DEBUG|CoreWebSample.Program|init main |url: |action: 2020-06-11 20:55:37.5750||ERROR|CoreWebSample.Program|Stopped program because of exception System.TypeInitializationException: The type initializer for 'Microsoft.Extensions.DependencyModel.CompilationLibrary' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment' threw an exception. ---> System.PlatformNotSupportedException: Operation is not supported on this platform. at Microsoft.DotNet.PlatformAbstractions.Native.PlatformApis.DetermineOSPlatform () [0x00000] in <849748ea978442d08f2ca5adf844bda9>:0 So I believe it would be better to open a new thread. Thank you though!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recovering From Mono: What Doctors Want You to Know
For 1 to 2 Months After Symptoms Go Away, Take It Easy · Avoid contact sports if your spleen is swollen. · Try...
Read more >
How To Get Rid Of Mono: Symptoms and Treatment
Treatment to get rid of mono usually entails home remedies such as throat gargling and proper rest. Read more in this guide.
Read more >
Mono: Early symptoms, risk factors, and treatment
Fever, sore throat, and other common symptoms may last for several days and then gradually get better. However, the tiredness can last for...
Read more >
Does Mono Mean No Exercise?
Once symptoms appear, recovery can take an additional four to six weeks. Until your physician tells you it is safe to resume more...
Read more >
Mononucleosis - familydoctor.org
Mono treatment · Rest. Sleep helps your body fight infection. · Drink plenty of fluids. They help prevent dehydration. · Soothe a sore...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found