Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 867582f

Browse files
author
Kai Ruhnau
committed
Fixed the aspnetcore50 build
1 parent 5841790 commit 867582f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Microsoft.AspNet.Server.Kestrel/KestrelEngine.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ public KestrelEngine(ILibraryManager libraryManager)
3434
libraryPath,
3535
"native",
3636
"windows",
37+
#if ASPNETCORE50
38+
// TODO: This is only temporary. Remove when CoreCLR has a release with the Is64BitProcess member
39+
IntPtr.Size == 8 ? "amd64" : "x86",
40+
#else
3741
Environment.Is64BitProcess ? "amd64" : "x86",
42+
#endif
3843
"libuv.dll");
3944

4045
nativeBinder = new WindowsNativeBinder(

src/Microsoft.AspNet.Server.Kestrel/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"aspnetcore50": {
1010
"dependencies": {
1111
"System.Collections": "4.0.10-beta-*",
12+
"System.Console" : "4.0.0-beta-*",
1213
"System.Diagnostics.Debug": "4.0.10-beta-*",
1314
"System.Diagnostics.TraceSource": "4.0.0-beta-*",
1415
"System.Diagnostics.Tracing": "4.0.20-beta-*",

0 commit comments

Comments
 (0)