title: Method in dll throwing System.MissingMethodException: Method not found
body: <p>I have an .NET Core 2.0 Web API that, obviously is built in C#. I have a method that calls a void function from a VB dll and when I run the program this function call throws the following exception.</p>
  <blockquote>
  <p>System.MissingMethodException: Method not found: 'System.Object Microsoft.VisualBasic.Interaction.IIf(Boolean, System.Object, System.Object)'</p>
  </blockquote>
  <p>I have registered the dll on GAC, I have referenced the project itself other than the .dll file, and even so, Visual Studio wouldn't let me even debug it.</p>
  <p>Using Visual Studio 2017, .NET Core 2.0 Framework.</p>