Though it is far from my choice, I\'m forced to work with some libraries that were written in VB.Net. One of these libraries has some DTOs I\'m looking to reuse in a Xamari
I had the same issue and could overpass it by rebuilding the VB project after adding the following line:
<VBRuntime>Embed</VBRuntime>
to the PropertyGroup section of the file NameOfProject.VBPROJ (do it using Notepad, eventually). It will finally look something like this:
<?xml version="1.0" encoding="utf-8"?>
[...]
<PropertyGroup>
[...]
<VBRuntime>Embed</VBRuntime>
</PropertyGroup>
[...]
Some hint came from here:
http://blogs.msdn.com/b/lucian/archive/2010/01/29/core6-vb-core-make-the-vb-runtime-optional-without-breaking-ctype-c.aspx
You can also solve the problem by installing the package "Microsoft.VisualBasic" via NuGet.