chsakell / aspnet-core-signalr-angular Goto Github PK
View Code? Open in Web Editor NEWReal-time applications using ASP.NET Core, SignalR & Angular
Home Page: http://wp.me/p3mRWu-1b2
License: MIT License
Real-time applications using ASP.NET Core, SignalR & Angular
Home Page: http://wp.me/p3mRWu-1b2
License: MIT License
Hello, whenever I try dotnet restore I get this :
Errors in D:\Git\new prove\aspnet-core-signalr-angular\aspnet-core-signalr-angular.csproj
Unable to resolve 'Microsoft.AspNetCore.SignalR.Server (>= 0.2.0)' for '.NETCoreApp,Version=v1.1'.
Unable to resolve 'Microsoft.AspNetCore.SignalR.Server (>= 0.2.0)' for '.NETCoreApp,Version=v1.1 (win10-x64)'.
Unable to resolve 'Microsoft.AspNetCore.SignalR.Server (>= 0.2.0)' for '.NETCoreApp,Version=v1.1 (win7-x64)'.
Unable to resolve 'Microsoft.AspNetCore.SignalR.Server (>= 0.2.0)' for '.NETCoreApp,Version=v1.1 (win8-x64)'.
Unable to resolve 'Microsoft.AspNetCore.SignalR.Server (>= 0.2.0)' for '.NETCoreApp,Version=v1.1 (win81-x64)'.
NuGet Config files used:
D:\Git\new prove\aspnet-core-signalr-angular\NuGet.Config
C:\Users\Arsen.Shkenza\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
THANKS IN ADVANCE
When I clone the project and run npm install
, bower install
, npm start
, and then open a new tab and run dotnet restore
, I get the following output:
log : Restoring packages for /Users/matthamil/workspace/backend/aspnet-core-signalr-angular/project.json...
log : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in /Users/matthamil/workspace/backend/aspnet-core-signalr-angular/project.json...
warn : Detected package downgrade: Microsoft.AspNetCore.Hosting.Abstractions from 1.1.0 to 1.1.0-preview2-22683
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.DataProtection (>= 1.1.0-preview2-22683) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0)
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0-preview2-22683)
warn : Detected package downgrade: Microsoft.AspNetCore.Hosting.Abstractions from 1.1.0 to 1.1.0-preview2-22683
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.DataProtection (>= 1.1.0-preview2-22683) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0)
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0-preview2-22683)
warn : Detected package downgrade: Microsoft.AspNetCore.Hosting.Abstractions from 1.1.0 to 1.1.0-preview2-22683
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.DataProtection (>= 1.1.0-preview2-22683) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0)
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0-preview2-22683)
warn : Detected package downgrade: Microsoft.AspNetCore.Hosting.Abstractions from 1.1.0 to 1.1.0-preview2-22683
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.DataProtection (>= 1.1.0-preview2-22683) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0)
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0-preview2-22683)
warn : Detected package downgrade: Microsoft.AspNetCore.Hosting.Abstractions from 1.1.0 to 1.1.0-preview2-22683
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.DataProtection (>= 1.1.0-preview2-22683) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0)
warn : aspnet-core-signalr-angular (>= 1.0.0) -> Microsoft.AspNetCore.SignalR.Server (>= 0.2.0) -> Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0-preview2-22683)
log : Writing lock file to disk. Path: /Users/matthamil/workspace/backend/aspnet-core-signalr-angular/project.lock.json
log : /Users/matthamil/workspace/backend/aspnet-core-signalr-angular/project.json
log : Restore completed in 11291ms.
I'm sure all I have to do to fix this is to manually update my project.json
, but I think the project should be updated with the latest version of .NET Core and the dependencies.
I also get the following error on dotnet run
Can not find runtime target for framework '.NETCoreApp,Version=v1.1' compatible with one of the target runtimes: 'osx.10.11-x64'. Possible causes:
1. The project has not been restored or restore failed - run `dotnet restore`
2. The project does not list one of 'osx.10.11-x64' in the 'runtimes' section.
3. You may be trying to publish a library, which is not supported. Use `dotnet pack` to distribute libraries.
I have downloaded the source and tried to run it using both VSCode and Visual Studio and they keep asking me for project or solution file
For e.g.
bash-3.2$ dotnet restore
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
bash-3.2$ dotnet run
Couldn't find a project to run. Ensure a project exists in /aspnet-core-signalr-angular-master.
Or pass the path to the project using --project
bash-3.2$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.