Open gunr2171 opened 8 years ago
Oh, and just for completeness sake, here is the log for a fresh install of MargieBot 2.0.0 on a .net 4.6 project:
Attempting to gather dependencies information for package 'MargieBot.2.0.0' with respect to project 'SOCVR.Slack.StatBot', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'MargieBot.2.0.0' with DependencyBehavior 'Lowest'
Resolving actions to install package 'MargieBot.2.0.0'
Resolved actions to install package 'MargieBot.2.0.0'
Adding package 'Microsoft.Bcl.1.1.9' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Microsoft.Bcl.1.1.9' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Microsoft.Bcl.1.1.9' to 'packages.config'
Successfully installed 'Microsoft.Bcl 1.1.9' to SOCVR.Slack.StatBot
Adding package 'Microsoft.CSharp.4.0.0' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Microsoft.CSharp.4.0.0' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Microsoft.CSharp.4.0.0' to 'packages.config'
Successfully installed 'Microsoft.CSharp 4.0.0' to SOCVR.Slack.StatBot
Adding package 'Microsoft.Net.Http.2.2.22' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Microsoft.Net.Http.2.2.22' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Microsoft.Net.Http.2.2.22' to 'packages.config'
Successfully installed 'Microsoft.Net.Http 2.2.22' to SOCVR.Slack.StatBot
Adding package 'Bazam.Http.1.1.4' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Bazam.Http.1.1.4' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Bazam.Http.1.1.4' to 'packages.config'
Successfully installed 'Bazam.Http 1.1.4' to SOCVR.Slack.StatBot
Adding package 'Newtonsoft.Json.7.0.1' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Newtonsoft.Json.7.0.1' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Newtonsoft.Json.7.0.1' to 'packages.config'
Executing script file 'M:\code\socvr\socvr-slack-bot\source\packages\Newtonsoft.Json.7.0.1\tools\install.ps1'...
Successfully installed 'Newtonsoft.Json 7.0.1' to SOCVR.Slack.StatBot
Adding package 'System.Collections.4.0.10' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'System.Collections.4.0.10' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'System.Collections.4.0.10' to 'packages.config'
Successfully installed 'System.Collections 4.0.10' to SOCVR.Slack.StatBot
Adding package 'System.Linq.4.0.0' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'System.Linq.4.0.0' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'System.Linq.4.0.0' to 'packages.config'
Successfully installed 'System.Linq 4.0.0' to SOCVR.Slack.StatBot
Adding package 'Bazam.WebSockets.1.0.2' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Bazam.WebSockets.1.0.2' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'Bazam.WebSockets.1.0.2' to 'packages.config'
Successfully installed 'Bazam.WebSockets 1.0.2' to SOCVR.Slack.StatBot
Adding package 'MargieBot.2.0.0' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Added package 'MargieBot.2.0.0' to folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Install failed. Rolling back...
Package 'MargieBot.2.0.0 : Bazam.Http [1.1.4, ), Bazam.WebSockets [1.0.2, ), Newtonsoft.Json [7.0.1, )' does not exist in project 'SOCVR.Slack.StatBot'
Removed package 'Bazam.WebSockets.1.0.2 : Microsoft.CSharp [4.0.0, ), System.Collections [4.0.10, ), System.Linq [4.0.0, ), System.Net.WebSockets.Client [4.0.0-beta-23409, ), System.Runtime [4.0.20, ), System.Threading [4.0.10, )' from 'packages.config'
Removed package 'System.Linq.4.0.0 : ' from 'packages.config'
Removed package 'System.Collections.4.0.10 : ' from 'packages.config'
Removed package 'Newtonsoft.Json.7.0.1 : ' from 'packages.config'
Removed package 'Bazam.Http.1.1.4 : Microsoft.Net.Http [2.2.22, )' from 'packages.config'
Removed package 'Microsoft.Net.Http.2.2.22 : Microsoft.Bcl [1.1.9, ), Microsoft.Bcl.Build [1.0.14, )' from 'packages.config'
Removed package 'Microsoft.CSharp.4.0.0 : ' from 'packages.config'
Removed package 'Microsoft.Bcl.1.1.9 : Microsoft.Bcl.Build [1.0.14, )' from 'packages.config'
Removing package 'MargieBot.2.0.0 : Bazam.Http [1.1.4, ), Bazam.WebSockets [1.0.2, ), Newtonsoft.Json [7.0.1, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'MargieBot.2.0.0 : Bazam.Http [1.1.4, ), Bazam.WebSockets [1.0.2, ), Newtonsoft.Json [7.0.1, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'Bazam.WebSockets.1.0.2 : Microsoft.CSharp [4.0.0, ), System.Collections [4.0.10, ), System.Linq [4.0.0, ), System.Net.WebSockets.Client [4.0.0-beta-23409, ), System.Runtime [4.0.20, ), System.Threading [4.0.10, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'Bazam.WebSockets.1.0.2 : Microsoft.CSharp [4.0.0, ), System.Collections [4.0.10, ), System.Linq [4.0.0, ), System.Net.WebSockets.Client [4.0.0-beta-23409, ), System.Runtime [4.0.20, ), System.Threading [4.0.10, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'System.Linq.4.0.0 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'System.Linq.4.0.0 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'System.Collections.4.0.10 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'System.Collections.4.0.10 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'Newtonsoft.Json.7.0.1 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'Newtonsoft.Json.7.0.1 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'Bazam.Http.1.1.4 : Microsoft.Net.Http [2.2.22, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'Bazam.Http.1.1.4 : Microsoft.Net.Http [2.2.22, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'Microsoft.Net.Http.2.2.22 : Microsoft.Bcl [1.1.9, ), Microsoft.Bcl.Build [1.0.14, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'Microsoft.Net.Http.2.2.22 : Microsoft.Bcl [1.1.9, ), Microsoft.Bcl.Build [1.0.14, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'Microsoft.CSharp.4.0.0 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'Microsoft.CSharp.4.0.0 : ' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removing package 'Microsoft.Bcl.1.1.9 : Microsoft.Bcl.Build [1.0.14, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Removed package 'Microsoft.Bcl.1.1.9 : Microsoft.Bcl.Build [1.0.14, )' from folder 'M:\code\socvr\socvr-slack-bot\source\packages'
Failed to add reference to 'System.Runtime'. Please make sure that it is in the Global Assembly Cache.
========== Finished ==========
In all of that, these look to be the most important lines:
Install failed. Rolling back... Package 'MargieBot.2.0.0 : Bazam.Http [1.1.4, ), Bazam.WebSockets [1.0.2, ), Newtonsoft.Json [7.0.1, )' does not exist in project 'SOCVR.Slack.StatBot'
getting this same thing. Any updates on this?
Also having this issue.
I have faced the same problem:
Attempting to resolve dependencies for package 'MargieBot.2.0.0' with DependencyBehavior 'Lowest'
Install-Package : Unable to resolve dependency 'System.Net.WebSockets.Client'. Source(s) used: 'nuget.org', 'Microsoft and .NET'.
At line:1 char:1
+ Install-Package MargieBot
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Same issue..
There is a dependency to the package id="WebSocketSharp" that is not declared in the nuget pck.
I am having this same issue. After trying to install the entire dependency tree manually via nuget (including Bazam, Bazam websockets and WebSocketSharp), there is still a missing Bazam.Http causing a runtime error.
Same problem for me trying to fresh install margiebot into a new .net 4.5.1 or 4.6 project. Tried adding dependencies, didnt seem to help.
I'm also having this issue.
I've got a .net 4.5.1 project that I've been using with MargieBot 1.1.4.1 with no real issues. Just now I tried to update to 2.0.0. This is the output from the package manager:
And as such, my nuget package won't update.
I tried to manually install System.Net.WebSockets.Client 4.0.0-beta-23516 and got this error message:
I've tried some other things (upgrade to .net 4.6, manually install "missing pacakges"), but I've had no luck so far. I can share that activity if needed.
Do you have any idea what's going on?