entity framework 6 - Cannot download System.Data.Sqlite via Nuget in VS2015 -
i'm trying download package system.data.sqlite ef6 support via stock nuget in visual studio 2015 community. after pressing "install", i'm getting asked dependencies. then, after confirming, nothing happens while , then, in output window, "object reference not set instance of object" error. upgraded nuget 3.2.x, problem persists. can resolve it?
edit: log output console:
attempting gather dependencies information package 'system.data.sqlite.1.0.98.1' respect project 'wptmanager', targeting '.netframework,version=v4.5.2' attempting resolve dependencies package 'system.data.sqlite.1.0.98.1' dependencybehavior 'lowest' resolving actions install package 'system.data.sqlite.1.0.98.1' resolved actions install package 'system.data.sqlite.1.0.98.1' install failed. rolling back... package 'entityframework 6.0.0' not exist in project 'wptmanager' package 'entityframework 6.0.0' not exist in folder 'd:\dokumenty\dev\vs\projekty\wptmanager\packages' system.nullreferenceexception: object reference not set instance of object. @ nuget.protocol.core.v3.globalpackagesfolderutility.<addpackageasync>d__1.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ system.runtime.compilerservices.taskawaiter`1.getresult() @ nuget.protocol.core.v3.downloadresourcev3.<getdownloadresourceresultasync>d__4.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ nuget.packagemanagement.packagedownloader.<getdownloadresourceresultasync>d__1.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ system.runtime.compilerservices.taskawaiter.validateend(task task) @ nuget.packagemanagement.nugetpackagemanager.<executenugetprojectactionsasync>d__42.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.exceptionservices.exceptiondispatchinfo.throw() @ nuget.packagemanagement.nugetpackagemanager.<executenugetprojectactionsasync>d__42.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ nuget.packagemanagement.ui.uiactionengine.<executeactionsasync>d__5.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ nuget.packagemanagement.ui.uiactionengine.<performactionasync>d__3.movenext() ========== finished ==========
found workaround.
- install entity framework via nuget;
- now install system.data.sqlite - install correctly.
no direct solution though - it's bug in nuget.
Comments
Post a Comment