Debuggin issues with using native c# dll with hxcs

Hi

I created a haxe project with the JS backend, and now I am porting it to c#

I have a CSV parse function, and I am trying to use the cs.microsoft.visualbasic.fileio.TextFieldParser for it.
However the haxe compiler complains Util.hx:3: characters 8-55 : Type not found : cs.microsoft.visualbasic.fileio.TextFieldParser

I included the DLL in build.hxml
–net-lib C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Microsoft.VisualBasic.dll

And the file exists.

Where can I get a debug/log from what the haxe copiler tries to load and where it gets stuck.

Or maybe someone had a similer problem

Maybe the compiler is confounded by the spaces in the dll path?
Try to copy the dll in another location.

I ended up using a pure haxe csv library.

Thanks anyway

I copied System.dll, System.Core.dll, mscorlib.dll and Microsoft.VisualBasic.dll from mono system folder (I’m on mac) to a local folder, mono/net-45 in my case.

Then I created the following build.hxml

--main Main
--net-std mono
--net-lib mono/net-45/Microsoft.VisualBasic.dll
-D net-ver=45

--cs bin/mono
--cmd mono bin/mono/bin/Main.exe

This was the main file

function main() {
  var r = new microsoft.visualbasic.fileio.TextFieldParser("test.csv");
  trace(r.ReadToEnd());
}

And it worked as expected.

I see
I’ve used cs.microsoft.visualbasic.fileio.TextFieldParser

You used microsoft.visualbasic.fileio.TextFieldParser

I have been fooled by the cs.system.example pattern.

I see its mentioned in .NET version and external libraries - Haxe - The Cross-platform Toolkit

Thanks