Updated to use the new target framework in project.json

This commit is contained in:
David Fowler 2014-09-04 01:33:43 -07:00
parent 13a9613d5b
commit 494900aa89
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"Microsoft.AspNet.StaticFiles": ""
},
"frameworks": {
"net45": {
"aspnet50": {
},
"aspnetcore50": {
"dependencies": {

View File

@ -81,7 +81,7 @@ namespace Microsoft.AspNet.StaticFiles
throw new ArgumentOutOfRangeException("length", length, string.Empty);
}
#if NET45
#if ASPNET50
Stream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 1024 * 64,
FileOptions.Asynchronous | FileOptions.SequentialScan);
#else

View File

@ -6,7 +6,7 @@
"Microsoft.AspNet.HttpFeature": "1.0.0-*"
},
"frameworks": {
"net45": {},
"aspnet50": {},
"aspnetcore50": {
"dependencies": {
"System.Collections": "4.0.10.0",

View File

@ -11,7 +11,7 @@
"test": "Xunit.KRunner"
},
"frameworks": {
"net45": {
"aspnet50": {
"dependencies": {
"Shouldly": "1.1.1.1",
"System.Runtime": ""