0

How can I make available the package bellow for me to use in project.json:

https://myget.org/feed/aspnetvnext/package/nuget/Microsoft.AspNetCore.SignalR.Server

I know that I need to change the NuGet.config file, but I don´t know how.

Obs: I´m not using Visual Studio.

1 Answer 1

1

Add this line on your dependecies inside project.json

"dependencies": {
    "Microsoft.AspNetCore.SignalR.Server" : "0.2.0-alpha1-21444"
}

Just be sure to choose the correct version for the assembly, VS has intellisense on the packages.

Sign up to request clarification or add additional context in comments.

4 Comments

But I get this error: error: Unable to resolve 'Microsoft.AspNetCore.SignalR.Server (>= 0.2.0-alpha1-21444)' for '.NETCoreApp,Version=v1.0'.
It's because this assembly only works with .NETFramework 4.5.1 and .NETStandard 1.6. Which framework are you using?
I´m using .net core 1.0
Can you post your project.json?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.