Error : VBNC2017: The library 'Microsoft.VisualBasic.dll' could not be found.


I'm a big fan of the Raspberry Pi. For $35 you can get a dedicated appliance that you can turn into any number of different devices.

I was trying to get a Visual Basic program of mine to compile today on a new installation of Raspbian and I came upon this error:

Error : VBNC2017: The library 'Microsoft.VisualBasic.dll' could not be found.

Off the top it looks like my 'vbnc' command was trying to compile against 4.5 instead of 4.0 and the Microsoft.VisualBasic.dll was missing. The following command got the compile working for me:

sudo ln -s /usr/lib/mono/4.0/Microsoft.VisualBasic.dll /usr/lib/mono/4.5/Microsoft.VisualBasic.dll

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.