Skip to content

HttpRequest-Getting Build Errors on Windows 10/Visual Studio 15 - community Edition. #17

Description

@bkrajendra

Getting Errors on Windows 10/Visual Studio 15 - community Edition.

Severity	Code	Description	Project	File	Line	Source	Suppression State
Error	CS0012	The type 'HttpRequest' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.AspNet.Http.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.	WebController.DNX 4.5.1	D:\ESP8266\NRF2401\MyNodes.NET-2.0.1\MyNodes.NET-2.0.1\WebController\Code\SignalR\SoftNodesHub.cs	46	IntelliSense	Active

Also these errors:

Severity	Code	Description	Project	File	Line	Source	Suppression State
Error	CS1061	'IServiceCollection' does not contain a definition for 'AddSignalR' and no extension method 'AddSignalR' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)	WebController.DNX 4.5.1	D:\ESP8266\NRF2401\MyNodes.NET-2.0.1\MyNodes.NET-2.0.1\WebController\Startup.cs	69	IntelliSense	Active

and

Severity	Code	Description	Project	File	Line	Source	Suppression State
Error	CS0012	The type 'IApplicationBuilder' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.AspNet.Http.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.	WebController.DNX 4.5.1	D:\ESP8266\NRF2401\MyNodes.NET-2.0.1\MyNodes.NET-2.0.1\WebController\Startup.cs	148	IntelliSense	Active

What could be the issue.

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