Updated to use the new target framework in project.json
This commit is contained in:
parent
13a9613d5b
commit
494900aa89
|
|
@ -6,7 +6,7 @@
|
||||||
"Microsoft.AspNet.StaticFiles": ""
|
"Microsoft.AspNet.StaticFiles": ""
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net45": {
|
"aspnet50": {
|
||||||
},
|
},
|
||||||
"aspnetcore50": {
|
"aspnetcore50": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNet.StaticFiles
|
||||||
throw new ArgumentOutOfRangeException("length", length, string.Empty);
|
throw new ArgumentOutOfRangeException("length", length, string.Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET45
|
#if ASPNET50
|
||||||
Stream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 1024 * 64,
|
Stream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 1024 * 64,
|
||||||
FileOptions.Asynchronous | FileOptions.SequentialScan);
|
FileOptions.Asynchronous | FileOptions.SequentialScan);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"Microsoft.AspNet.HttpFeature": "1.0.0-*"
|
"Microsoft.AspNet.HttpFeature": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net45": {},
|
"aspnet50": {},
|
||||||
"aspnetcore50": {
|
"aspnetcore50": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Collections": "4.0.10.0",
|
"System.Collections": "4.0.10.0",
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
"test": "Xunit.KRunner"
|
"test": "Xunit.KRunner"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net45": {
|
"aspnet50": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Shouldly": "1.1.1.1",
|
"Shouldly": "1.1.1.1",
|
||||||
"System.Runtime": ""
|
"System.Runtime": ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue