-
Notifications
You must be signed in to change notification settings - Fork 224
Adding interop dll library causing kpm failed to restore #990
Comments
What hangs? Those look like http calls to me. We're still working with the nuget team to come up with a more formal way to represent these types of packages with native dependencies. |
It hangs as the website can't be started anymore, those message the only error messages i got, I will provide screenshot later today to make the issue more clear once i have access to my pc where vs 2015 preview installed |
What does the error list say |
good question, where can I find the error list ? it just say see error list |
Yep, that error makes sense. Don't put the DLL there. This package won't work with ASP.NET 5 projects as yet. We need a way to determine what native dependencies are so we can wire up the runtime appropriately. |
Any workaround for this issue? where to put the native dll ? |
I'm afraid the workaround for this issue isn't trivial. You'd need to load the native dll yourself to make it work right now. There are APIs you can use to locate it though |
hmm ok... |
Or you can try putting it in the project root. |
@gibeon-andrew 6 months later and I'm running into this same issue. Were you ever able to resolve it? |
This issue unfortunately won't fix itself. Anything we do will require those packages to be republished to support the new package layout. See #402 for more details. |
Closing in favor of #402 |
http://stackoverflow.com/questions/27410472/asp-net-vnext-bin-dll
The steps are same with my question within stack overflow,
Basically to make System.Data.SQlite.dll work, it needs to have SQLite.Interop.dll within the search path of dll.
As I'm not quite sure where to put it, I try to put SQLite.Interop.dll within this folder
C:\Users{your username}.kpm\packages\System.Data.SQLite.Core\1.0.94.0\lib\net451
Close visual studio 2015 preview, then open the project again
Apparently, this causing visual studio 2015 preview failed to build, with reference error
with these kind of messages
Restoring packages for C:\Users\xxxx\documents\visual studio 14\Projects\ClipOne\src\xxxx\project.json
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime'
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Tasks'
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Text.Encoding'
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Collections'
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Globalization'
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection'
When i press start website, it just hang at build
Looks like when there is something "foreign" within package folder, it cause some issue
The text was updated successfully, but these errors were encountered: