This repository was archived by the owner on Dec 18, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed aspnetcore framework compatibility
- Updated JSON.NET to 6.0.6 - Removed win8 aliasing and added an temporary ugly heuristic for aspnetcore50 compat - Added unit tests #596
- Loading branch information
Showing
8 changed files
with
58 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -446,7 +446,7 @@ var MSBUILD = '${Path.Combine(PROGRAM_FILES_X86, "MSBuild", "14.0", "Bin", "MSBu | |
|
||
if (framework == "aspnetcore50") | ||
{ | ||
candidates = new [] { framework, "netcore45", "win8", "k10" }; | ||
candidates = new [] { framework, "windows8+net45+wp8+wpa81", "net45+win8" }; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
davidfowl
Author
Member
|
||
} | ||
else | ||
{ | ||
|
@@ -483,7 +483,7 @@ var MSBUILD = '${Path.Combine(PROGRAM_FILES_X86, "MSBuild", "14.0", "Bin", "MSBu | |
string packageFileDest = Path.Combine(targetDir, fi.Name); | ||
File.Copy(fi.FullName, packageFileDest, true); | ||
|
||
Log.Info("Copying to " + packageFileDest); | ||
Log.Info("Copying from " + fi.FullName + " to " + packageFileDest); | ||
} | ||
} | ||
} | ||
|
@@ -506,7 +506,7 @@ var MSBUILD = '${Path.Combine(PROGRAM_FILES_X86, "MSBuild", "14.0", "Bin", "MSBu | |
continue; | ||
} | ||
|
||
string[] candidates = new [] { "aspnetcore50", "k10", "netcore45", "win8" }; | ||
var candidates = new [] { "aspnetcore50", "windows8+net45+wp8+wpa81", "net45+win8" }; | ||
|
||
var lib = new DirectoryInfo(Path.Combine(packageDir, "lib")); | ||
var di = candidates.Select(fmk => lib.EnumerateDirectories("*" + fmk+ "*") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"version": "1.0.0-*", | ||
"dependencies": { | ||
"Newtonsoft.Json": "6.0.4", | ||
"Newtonsoft.Json": "6.0.6", | ||
This comment has been minimized.
Sorry, something went wrong.
pranavkm
Contributor
|
||
"Microsoft.Framework.Runtime": "1.0.0-*", | ||
"Microsoft.Framework.Runtime.Common": { "version": "1.0.0-*", "type": "build" }, | ||
"Microsoft.Framework.Runtime.Interfaces": { "version": "1.0.0-*", "type": "build" }, | ||
|
@@ -37,8 +37,8 @@ | |
}, | ||
"scripts": { | ||
"postbuild": [ | ||
"xcopy /F /Y /I bin\\Debug\\net45\\*.* ..\\..\\artifacts\\build\\KRE-CLR-x86\\bin", | ||
"xcopy /F /Y /I bin\\Debug\\aspnetcore50\\*.* ..\\..\\artifacts\\build\\KRE-CoreCLR-x86\\bin" | ||
"xcopy /F /Y /I bin\\Debug\\net45\\*.* ..\\..\\artifacts\\build\\KRE-CLR-x86\\bin\\lib\\Microsoft.Framework.DesignTimeHost", | ||
"xcopy /F /Y /I bin\\Debug\\aspnetcore50\\*.* ..\\..\\artifacts\\build\\KRE-CoreCLR-x86\\bin\\lib\\Microsoft.Framework.DesignTimeHost" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The directory name in NewtonSoft.Json 6.0.5 is
portable-net40+sl5+wp80+win8+wpa81
. This doesn't work. Plus perhaps this thing needs to be a bit more clever about supporting permutations in which these frameworks appear rather than look for exact path?