View Ticket
Not logged in
Ticket UUID: 942ab10de21f9c9ea430076cb2287f09323b922d
Title: Make nuget package support core
Status: Deferred Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: NuGetPackage Resolution: Not_Backwards_Compatible
Last Modified: 2016-06-16 02:42:51
Version Found In: 1.0.101
User Comments:
anonymous added on 2016-06-15 06:56:53:
The System.Data.Sqlite 1.0.101 package on nuget does not support new project.json project system,
it needs csproj to copy SQLite.Interop.dll to bin directory.

Add support to the new project system is pretty easy, add runtimes folder under nuget directory like:
- lib
- runtimes
  - win7-x86
    - native
      - SQLite.Interop.dll
  - win7-x64
    - native
      - SQLite.Interop.dll

You can also check how "Microsoft.Data.Sqlite" pack their package.

I publish an own package on nuget, but I hope your guys can fix the official one then I can pull my own package off.

anonymous added on 2016-06-16 01:29:01:
Wait, it's backward compatible.
You can support both old csproj and new xproj project system. 
just add the the `runtime` folder and keep all old files exist.
My package remove `build` folder because I'm testing, that's not necessary.

mistachkin added on 2016-06-16 02:42:51:
In that case, won't there be some duplicate native files in the package?  That
will significantly increase the size, no?