Skip to content

Unable to update nuget package from 1.1.4.1 to 2.0.0 #13

@gunr2171

Description

@gunr2171

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:

Attempting to gather dependencies information for package 'MargieBot.2.0.0' with respect to project 'SOCVR.Slack.StatBot', targeting '.NETFramework,Version=v4.5.1'
Attempting to resolve dependencies for package 'MargieBot.2.0.0' with DependencyBehavior 'Lowest'
Unable to resolve dependency 'System.Net.WebSockets.Client'. Source(s) used: 'nuget.org', 'Local', 'c-local', 'Microsoft and .NET'.

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:

Install-Package : Could not install package 'System.Net.WebSockets.Client 4.0.0-beta-23516'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.1', but the
package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions