Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1). - DNXCore50 => netstandardapp1.5. - Applied the same changes to ifdefs.
This commit is contained in:
parent
2ee543d8a2
commit
7c60ec6fa5
|
|
@ -14,7 +14,11 @@
|
|||
},
|
||||
"frameworks": {
|
||||
"dnx451": {},
|
||||
"dnxcore50": {}
|
||||
"netstandardapp1.5": {
|
||||
"imports": [
|
||||
"dnxcore50"
|
||||
]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"wwwroot",
|
||||
|
|
@ -24,4 +28,4 @@
|
|||
"**.user",
|
||||
"**.vspscc"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -14,7 +14,11 @@
|
|||
},
|
||||
"frameworks": {
|
||||
"dnx451": {},
|
||||
"dnxcore50": {}
|
||||
"netstandardapp1.5": {
|
||||
"imports": [
|
||||
"dnxcore50"
|
||||
]
|
||||
}
|
||||
},
|
||||
"publishExclude": [
|
||||
"node_modules",
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ namespace Microsoft.AspNetCore.Buffering
|
|||
return _innerStream.WriteAsync(buffer, offset, count, cancellationToken);
|
||||
}
|
||||
}
|
||||
#if !DOTNET5_4
|
||||
#if !NETSTANDARD1_3
|
||||
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
if (_isBuffering)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"nowarn": [
|
||||
"CS1591"
|
||||
],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"description": "ASP.NET middleware for buffering response bodies.",
|
||||
|
|
@ -16,6 +18,10 @@
|
|||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
"dotnet5.4": {}
|
||||
"netstandard1.3": {
|
||||
"imports": [
|
||||
"dotnet5.4"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,7 +3,9 @@
|
|||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"nowarn": [
|
||||
"CS1591"
|
||||
],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"description": "XForward and Method override middlewares for ASP.NET",
|
||||
|
|
@ -18,6 +20,10 @@
|
|||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
"dotnet5.4": {}
|
||||
"netstandard1.3": {
|
||||
"imports": [
|
||||
"dotnet5.4"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10,11 +10,14 @@
|
|||
"xunit": "2.1.0"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnxcore50": {
|
||||
"netstandardapp1.5": {
|
||||
"dependencies": {
|
||||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
},
|
||||
"imports": "portable-net451+win8"
|
||||
"imports": [
|
||||
"dnxcore50",
|
||||
"portable-net451+win8"
|
||||
]
|
||||
},
|
||||
"net451": {
|
||||
"frameworkAssemblies": {
|
||||
|
|
@ -27,4 +30,4 @@
|
|||
}
|
||||
},
|
||||
"testRunner": "xunit"
|
||||
}
|
||||
}
|
||||
|
|
@ -11,11 +11,14 @@
|
|||
"xunit": "2.1.0"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnxcore50": {
|
||||
"netstandardapp1.5": {
|
||||
"dependencies": {
|
||||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
},
|
||||
"imports": "portable-net451+win8"
|
||||
"imports": [
|
||||
"dnxcore50",
|
||||
"portable-net451+win8"
|
||||
]
|
||||
},
|
||||
"net451": {
|
||||
"frameworkAssemblies": {
|
||||
|
|
@ -28,4 +31,4 @@
|
|||
}
|
||||
},
|
||||
"testRunner": "xunit"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue