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.

mscorlib.dll missing after trying to run mattercontrol (Mono installed)

See original GitHub issue

Installed both Mono and MatterControl. A nasty little error occurred, mscorlib.dll file not found.

Operating System Version Linux 20.04

$ dpkg -l mono-complete Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description ++±==============-=================================-============-========================================================== ii mono-complete 6.12.0.122-0xamarin1+ubuntu2004b1 amd64 complete Mono runtime, development tools and all libraries

$ dpkg -l mattercontrol Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description ++±==============-=============-============-================================= ii mattercontrol 2.19.10.10367 all Software solution for 3D printers

$ which mattercontrol /usr/bin/mattercontrol dio@dio3dpsrv:~$ mattercontrol Time to ‘’: 228 exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:FileNotFoundException member:(null)

[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. File name: ‘Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ at Mindscape.Raygun4Net.RaygunMessageBuilder.SetEnvironmentDetails () [0x0000b] in <f91f2b249ee243acbec1dd6bfd729d19>:0 at Mindscape.Raygun4Net.RaygunClient.BuildMessage (System.Exception exception, System.Collections.Generic.IList1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage, System.Nullable1[T] currentTime) [0x00024] in <f91f2b249ee243acbec1dd6bfd729d19>:0 at Mindscape.Raygun4Net.RaygunClient.StripAndSend (System.Exception exception, System.Collections.Generic.IList1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfo, System.Nullable1[T] currentTime) [0x00016] in <f91f2b249ee243acbec1dd6bfd729d19>:0 at Mindscape.Raygun4Net.RaygunClient.Send (System.Exception exception, System.Collections.Generic.IList`1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfo) [0x00023] in <f91f2b249ee243acbec1dd6bfd729d19>:0 at Mindscape.Raygun4Net.RaygunClient.Send (System.Exception exception) [0x00000] in <f91f2b249ee243acbec1dd6bfd729d19>:0 at MatterHackers.MatterControl.Program+<>c.<Main>b__6_2 (System.Object s, System.Threading.ThreadExceptionEventArgs e) [0x0001c] in <e58f04b6857344df9781155f8ee2c0c8>:0 at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00037] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00196] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x000d5] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x004e5] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00009] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.Control.CreateHandle () [0x00031] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.Control.CreateControl () [0x00039] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.CreateControl () [0x00072] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00057] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00065] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at MatterHackers.Agg.UI.WinformsSystemWindow.SetVisibleCore (System.Boolean value) [0x00009] in <712ffdb4c0144e8c88c0ce33a0b20977>:0 at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at System.Windows.Forms.Control.Show () [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0 at MatterHackers.Agg.UI.WinformsSystemWindow.Show () [0x000f8] in <712ffdb4c0144e8c88c0ce33a0b20977>:0 at MatterHackers.Agg.UI.WinformsSystemWindow.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00060] in <712ffdb4c0144e8c88c0ce33a0b20977>:0 at MatterHackers.Agg.UI.SingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00373] in <49bb6fd6740f4762a381356153fe2e02>:0 at MatterHackers.MatterControl.WinformsSingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00031] in <16b4831ddba24ef8b2ca5ca9a43af3cd>:0 at MatterHackers.Agg.UI.SystemWindow.ShowAsSystemWindow () [0x0002b] in <a5c2db3666d84398b1090e2f2dfee474>:0 at MatterHackers.MatterControl.Program.Main (System.String[] args) [0x0037f] in <e58f04b6857344df9781155f8ee2c0c8>:0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
theofficialgmancommented, Feb 13, 2022
0reactions
theofficialgmancommented, Feb 15, 2022

I did get this working in the end, I can’t remember exactly how, but I remember being massively disappointed to discover you then cannot export the models as a STL from the Linux version, it just simply does not work.

@ashleycawley I guess I have good news for you then. I’ve exported STLs from the linux version (latest) and it works just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run .net app with Mono - mscorlib.dll not found ...
I got it to work by installing mono-complete: sudo apt-get install mono-complete. After that, I had folders 2.0, 3.5, 4.0 and more under ......
Read more >
MatterControl; issue Nvidia, xorg-x11 opengl works [solved]
So I messed up the debug output, this is it. Looks like it might be in mono. Lots of missing dll.so files not...
Read more >
The assembly mscorlib.dll was not found or could not be ...
I came across the problem last day.You need to install mono-2.0 to execute certain programs. To install mono 2.0 ,open terminal and type...
Read more >
Issue with KB4516066 not installing mscorlib.dll 2.0. ...
We are using Tenable and it is identifying .NET Framework 3.5 being out of date and to apply KB4516066 to fix it. In...
Read more >
No luck getting Matter Control to work on Mint?
I've tried Mint v18, 19 and now 20. Seems to install OK with no errors. Appears in the menu OK, but when I...
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