diff --git a/content/thirdpartynotices.txt b/content/thirdpartynotices.txt
deleted file mode 100644
index 155e2b5486..0000000000
--- a/content/thirdpartynotices.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-This file is based on or incorporates material from the projects listed below
-(Third Party IP). The original copyright notice and the license under which
-Microsoft received such Third Party IP, are set forth below. Such licenses and
-notices are provided for informational purposes only. Microsoft licenses the
-Third Party IP to you under the licensing terms for the Microsoft product.
-Microsoft reserves all other rights not expressly granted under this agreement,
-whether by implication, estoppel or otherwise.
-
-libuv v. 1.7.3
-
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
- Provided for Informational Purposes Only
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the Software), to deal in the
-Software without restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
-Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/global.json b/global.json
index aa789b9c9c..983ba0401e 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,3 @@
{
- "projects": [
- "src",
- "tools"
- ]
+ "projects": ["src"]
}
diff --git a/makefile.shade b/makefile.shade
index 210744dcab..c47d059fb9 100644
--- a/makefile.shade
+++ b/makefile.shade
@@ -9,4 +9,3 @@ custom-goals
#initialize if='Directory.Exists("src")'
exec program='dotnet' commandline='run -p ../../tools/Microsoft.AspNetCore.Server.Kestrel.GeneratedCode Http/FrameHeaders.Generated.cs Http/Frame.Generated.cs' workingdir='${kestrelSrcDir}'
- exec program='dotnet' commandline='run -p ../../tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier' workingdir='${kestrelSrcDir}'
diff --git a/samples/LargeResponseApp/project.json b/samples/LargeResponseApp/project.json
index e5d75bf37b..f28fba77ce 100644
--- a/samples/LargeResponseApp/project.json
+++ b/samples/LargeResponseApp/project.json
@@ -1,18 +1,6 @@
{
"version": "1.0.0-*",
"dependencies": {
- "Microsoft.AspNetCore.Internal.libuv-Darwin": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Linux": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Windows": {
- "version": "1.0.0-*",
- "type": "build"
- },
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
diff --git a/samples/SampleApp/project.json b/samples/SampleApp/project.json
index 546670be0b..554a04841f 100644
--- a/samples/SampleApp/project.json
+++ b/samples/SampleApp/project.json
@@ -1,18 +1,6 @@
{
"version": "1.0.0-*",
"dependencies": {
- "Microsoft.AspNetCore.Internal.libuv-Darwin": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Linux": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Windows": {
- "version": "1.0.0-*",
- "type": "build"
- },
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel.Https": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/project.json b/src/Microsoft.AspNetCore.Server.Kestrel/project.json
index 84cc1e688a..54d7529341 100644
--- a/src/Microsoft.AspNetCore.Server.Kestrel/project.json
+++ b/src/Microsoft.AspNetCore.Server.Kestrel/project.json
@@ -9,21 +9,10 @@
"System.Buffers": "4.0.0-*",
"System.Numerics.Vectors": "4.1.1-*",
"System.Threading.Tasks.Extensions": "4.0.0-*",
+ "Libuv": "1.9.0-*",
"Microsoft.AspNetCore.Hosting": "1.0.0-*",
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*",
- "Microsoft.Extensions.PlatformAbstractions": "1.0.0-*",
- "Microsoft.AspNetCore.Internal.libuv-Darwin": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Linux": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Windows": {
- "version": "1.0.0-*",
- "type": "build"
- }
+ "Microsoft.Extensions.PlatformAbstractions": "1.0.0-*"
},
"frameworks": {
"net451": {
@@ -65,14 +54,5 @@
"CS1591"
],
"xmlDoc": true
- },
- "packInclude": {
- "/": "../../content/thirdpartynotices.txt",
- "runtimes/win7-x64/native/": "runtimes/win7-x64/native/*",
- "runtimes/win7-x86/native/": "runtimes/win7-x86/native/*",
- "runtimes/win7-arm/native/": "runtimes/win7-arm/native/*",
- "runtimes/osx/native/": "runtimes/osx/native/*",
- "runtimes/rhel-x64/native/": "runtimes/rhel-x64/native/*",
- "runtimes/debian-x64/native/": "runtimes/debian-x64/native/*"
}
}
\ No newline at end of file
diff --git a/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/project.json b/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/project.json
index deaf0e6415..326bc458a6 100644
--- a/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/project.json
+++ b/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/project.json
@@ -5,19 +5,7 @@
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.Testing": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
- "xunit": "2.1.0",
- "Microsoft.AspNetCore.Internal.libuv-Darwin": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Linux": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Windows": {
- "version": "1.0.0-*",
- "type": "build"
- }
+ "xunit": "2.1.0"
},
"frameworks": {
"netstandardapp1.5": {
diff --git a/test/Microsoft.AspNetCore.Server.KestrelTests/project.json b/test/Microsoft.AspNetCore.Server.KestrelTests/project.json
index 9d1bad57b0..8123f3e0a2 100644
--- a/test/Microsoft.AspNetCore.Server.KestrelTests/project.json
+++ b/test/Microsoft.AspNetCore.Server.KestrelTests/project.json
@@ -5,19 +5,7 @@
"Microsoft.AspNetCore.Server.Kestrel.Https": "1.0.0-*",
"Microsoft.AspNetCore.Testing": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
- "xunit": "2.1.0",
- "Microsoft.AspNetCore.Internal.libuv-Darwin": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Linux": {
- "version": "1.0.0-*",
- "type": "build"
- },
- "Microsoft.AspNetCore.Internal.libuv-Windows": {
- "version": "1.0.0-*",
- "type": "build"
- }
+ "xunit": "2.1.0"
},
"frameworks": {
"netstandardapp1.5": {
diff --git a/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier.xproj b/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier.xproj
deleted file mode 100644
index c26e1d6b79..0000000000
--- a/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier.xproj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- 14.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- 8cba6fe3-3cc9-4420-8aa3-123e983734c2
- ..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\artifacts\bin\
-
-
- 2.0
-
-
-
\ No newline at end of file
diff --git a/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/Program.cs b/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/Program.cs
deleted file mode 100644
index b7a95bb822..0000000000
--- a/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/Program.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using Microsoft.Extensions.PlatformAbstractions;
-using Newtonsoft.Json.Linq;
-
-namespace Microsoft.AspNetCore.Server.Kestrel.LibuvCopier
-{
- public class Program
- {
- public static void Main(string[] args)
- {
- try
- {
- var packagesFolder = Environment.GetEnvironmentVariable("NUGET_PACKAGES");
-
- if (string.IsNullOrEmpty(packagesFolder))
- {
- packagesFolder = Path.Combine(GetHome(), ".nuget", "packages");
- }
-
- packagesFolder = Environment.ExpandEnvironmentVariables(packagesFolder);
-
- var lockJson = JObject.Parse(File.ReadAllText("project.lock.json"));
-
- foreach (var libuvLib in lockJson["libraries"].OfType().Where(
- p => p.Name.StartsWith("Microsoft.AspNetCore.Internal.libuv", StringComparison.Ordinal)))
- {
- foreach (var filePath in libuvLib.Value["files"].Select(v => v.Value()))
- {
- if (filePath.ToString().StartsWith("runtimes/", StringComparison.Ordinal))
- {
- Directory.CreateDirectory(Path.GetDirectoryName(filePath));
- File.Copy(Path.Combine(packagesFolder, libuvLib.Name, filePath), filePath, overwrite: true);
- }
- }
- }
- }
- catch (Exception ex)
- {
- Console.WriteLine(ex);
- throw;
- }
- }
-
- // Copied from DNX's DnuEnvironment.cs
- private static string GetHome()
- {
-#if DNX451
- return Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
-#else
- var runtimeEnv = PlatformServices.Default.Runtime;
- if (runtimeEnv.OperatingSystem == "Windows")
- {
- return Environment.GetEnvironmentVariable("USERPROFILE") ??
- Environment.GetEnvironmentVariable("HOMEDRIVE") + Environment.GetEnvironmentVariable("HOMEPATH");
- }
- else
- {
- var home = Environment.GetEnvironmentVariable("HOME");
-
- if (string.IsNullOrEmpty(home))
- {
- throw new Exception("Home directory not found. The HOME environment variable is not set.");
- }
-
- return home;
- }
-#endif
- }
- }
-}
diff --git a/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/project.json b/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/project.json
deleted file mode 100644
index 1a593a4610..0000000000
--- a/tools/Microsoft.AspNetCore.Server.Kestrel.LibuvCopier/project.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "version": "1.0.0-*",
- "compilationOptions": {
- "emitEntryPoint": true
- },
- "dependencies": {
- "Microsoft.Extensions.PlatformAbstractions": "1.0.0-*",
- "Newtonsoft.Json": "8.0.3"
- },
- "frameworks": {
- "netstandardapp1.5": {
- "dependencies": {
- "NETStandard.Library": "1.5.0-*",
- "System.Dynamic.Runtime": "4.0.11-*"
- },
- "imports": [
- "dnxcore50"
- ]
- },
- "net451": {}
- }
-}
\ No newline at end of file