Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Unassigned: Issues with 5.4.6.0 [109]

$
0
0
I have today updated a project with Nuget to use ClearScript 5.4.6.0 but it is now throwing the following error

Exception: System.TypeLoadException

Message: Could not load type 'Microsoft.ClearScript.Util.INativeCallback' from assembly 'ClearScript, Version=5.4.6.0, Culture=neutral, PublicKeyToken=935d0c957da47c73'.

StackTrace: at HostObjectHelpers.QueueNativeCallback(function<void __cdecl(void)>* callback)

Any tips on what might be happening here?

Thanks
Comments: Hello, It looks like you're using mismatched ClearScript libraries. The `INativeCallback` interface was added in the most recent [commit](https://clearscript.codeplex.com/SourceControl/changeset/df2b7256358171f3755da67b51de889a16d1755c), an update to Version 5.4.6. You can see the source code [here](https://clearscript.codeplex.com/SourceControl/changeset/view/df2b7256358171f3755da67b51de889a16d1755c#ClearScript/Util/INativeCallback.cs). Make sure you're using the latest matched ClearScript libraries. We recommend building ClearScript from scratch, using the procedure in the [ReadMe](https://clearscript.codeplex.com/SourceControl/latest#ReadMe.txt). Good luck!

Viewing all articles
Browse latest Browse all 2297

Trending Articles