diff --git a/build/common.props b/build/common.props
index 8fef632523..f3f7aa312e 100644
--- a/build/common.props
+++ b/build/common.props
@@ -155,6 +155,8 @@
+
+
@@ -172,6 +174,7 @@
+
diff --git a/build/dependencies.props b/build/dependencies.props
index e8660d68c4..d3e2ca5336 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -8,6 +8,7 @@
4.7.1
$(BundledNETStandardPackageVersion)
10.0.1
+ 1.1.5
15.0.0
2.2.0
diff --git a/src/Microsoft.AspNetCore.All/Microsoft.AspNetCore.All.csproj b/src/Microsoft.AspNetCore.All/Microsoft.AspNetCore.All.csproj
index c003ee5ef0..a6e47077d0 100644
--- a/src/Microsoft.AspNetCore.All/Microsoft.AspNetCore.All.csproj
+++ b/src/Microsoft.AspNetCore.All/Microsoft.AspNetCore.All.csproj
@@ -14,7 +14,7 @@
-
+
diff --git a/tools/TrimDeps/Program.cs b/tools/TrimDeps/Program.cs
index 639c620f52..f318230425 100644
--- a/tools/TrimDeps/Program.cs
+++ b/tools/TrimDeps/Program.cs
@@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+using System;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
@@ -10,6 +11,7 @@ public class Program
{
public static void Main(string[] args)
{
+ Console.WriteLine("Trimming main library from " +args[0]);
ChangeEntryPointLibraryName(args[0]);
}
@@ -22,7 +24,6 @@ public class Program
deps = JObject.ReadFrom(reader);
}
- string version = null;
foreach (JProperty target in deps["targets"])
{
var targetLibrary = target.Value.Children().FirstOrDefault();
@@ -33,16 +34,14 @@ public class Program
targetLibrary.Remove();
}
- if (version != null)
- {
- var library = deps["libraries"].Children().First();
- library.Remove();
- using (var file = File.CreateText(depsFile))
- using (var writer = new JsonTextWriter(file) { Formatting = Formatting.Indented })
- {
- deps.WriteTo(writer);
- }
+ var library = deps["libraries"].Children().First();
+ library.Remove();
+
+ using (var file = File.CreateText(depsFile))
+ using (var writer = new JsonTextWriter(file) { Formatting = Formatting.Indented })
+ {
+ deps.WriteTo(writer);
}
}
-}
\ No newline at end of file
+}