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

Posted by Blake on 2/9/2015
)

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