Rank: Member
Groups: Registered
Joined: 5/31/2012(UTC) Posts: 16 Location: Austin, TX
Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
This is the entire project.json file: Code:
{
"dependencies": {
"System.Collections.Immutable": "1.2.0",
"System.Net.Http": "4.0.0"
},
"frameworks": {
"net461": {}
},
"runtimes": {
"win": {},
"win-x64": {}
}
}
It builds fine in VS2015, and it builds fine using our Cake build script on the build server. However, NCrunch fails when building: Code:Http\XHeaderProviderHandler.cs (3, 22): The type or namespace name 'Http' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) Http\XHeaderProviderHandler.cs (15, 51): The type or namespace name 'DelegatingHandler' could not be found (are you missing a using directive or an assembly reference?) Http\XHeaderProviderHandler.cs (28, 64): The type or namespace name 'HttpRequestMessage' could not be found (are you missing a using directive or an assembly reference?) Http\XHeaderProviderHandler.cs (28, 33): The type or namespace name 'HttpResponseMessage' could not be found (are you missing a using directive or an assembly reference?) Http\XHeaderProviderHandler.cs (28, 54): 'XHeaderProviderHandler<TValue>.SendAsync(HttpRequestMessage, CancellationToken)': no suitable method found to override If it matters, the project is x64 only.
|