Please don't prevent installing native package in LINQPad
Options
Some package, like "Microsoft.ChakraCore", "Libuv", or "JavaScriptEngineSwitcher.ChakraCore.Native.win-x64", does not have .NET Assembly, instead, they provide a native assembly to PInvoke.
However, this cannot be done in LINQPad, when installing these packages, an error message "There are no usable .NET assemblies in package 'XYZ'" was shown.
Please do not prevent us to do that, at least popup a warning dialog saying something like "Looks like you're not installing the .NET Assembly, go on?", and gives us a option to proceed the PInvoke test.
However, this cannot be done in LINQPad, when installing these packages, an error message "There are no usable .NET assemblies in package 'XYZ'" was shown.
Please do not prevent us to do that, at least popup a warning dialog saying something like "Looks like you're not installing the .NET Assembly, go on?", and gives us a option to proceed the PInvoke test.
Comments
-
From v5.34, you can now reference NuGet packages that contain only native libraries, providing that the native libraries are located in a folder whose name follows a standard convention (i.e., contains \x86\, \win-x86\, \win7-x86\, \x64\, \amd64\, \win-x64\ or \win7-x64\).
To use these libraries, you will need to define extern methods with DllImport attributes.
Here's an example:
http://share.linqpad.net/7e76j4.linq
You can download the 5.34 beta here:
https://www.linqpad.net/download.aspx#beta
-
Thanks