Re: Unity 2017.1 beta and .NET 4.6
Posted: 06 Jun 2017, 17:58
For anyone who is still dealing with this issue, I was able to get the Noesis DLL loaded in Unity 2017.1.0b7, but it took some screwing around with the Noesis lib, and Unity still complained the whole time:
Since the editor log was telling me it couldn't find the Noesis.dll, I changed the Library.Name (which it uses to do the DllImport attribs) to a fully qualified path to the Windows x64 dll in my test project:

This allowed unity to load the DLL for the editor. But, next, it was having major issues loading a class called "Inline." I went and looked for the class file and found it was named all-uppercase:

I renamed it to match the class name in the file, including making its extension lowercase, so "Inline.cs" instead of "INLINE.CS" (Unity likes this, don't ask me why, but it hates it when the file name is different in any way from the class name inside). After this, the project will load correctly, but still throws out some warnings about overridden types such as ObservableCollection and ICommand:

But, the samples run from inside the editor:

Building and running outside the editor, however, is hanging the editor (such that I have to end-task on it) and is failing to show the XAML screen inside the external player. So, it's not a complete workaround, but it gets me at least to the point that I can play with NoesisGUI in the beta build of Unity Editor. Posting this for informational "I played with it until it almost-works" purposes only.
Since the editor log was telling me it couldn't find the Noesis.dll, I changed the Library.Name (which it uses to do the DllImport attribs) to a fully qualified path to the Windows x64 dll in my test project:

This allowed unity to load the DLL for the editor. But, next, it was having major issues loading a class called "Inline." I went and looked for the class file and found it was named all-uppercase:

I renamed it to match the class name in the file, including making its extension lowercase, so "Inline.cs" instead of "INLINE.CS" (Unity likes this, don't ask me why, but it hates it when the file name is different in any way from the class name inside). After this, the project will load correctly, but still throws out some warnings about overridden types such as ObservableCollection and ICommand:

But, the samples run from inside the editor:

Building and running outside the editor, however, is hanging the editor (such that I have to end-task on it) and is failing to show the XAML screen inside the external player. So, it's not a complete workaround, but it gets me at least to the point that I can play with NoesisGUI in the beta build of Unity Editor. Posting this for informational "I played with it until it almost-works" purposes only.