diff --git a/Directory.Build.props b/Directory.Build.props
index 267a97877a..bff80fce71 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,5 +1,4 @@
-
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 8c119d5413..bc118fd907 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,2 +1,14 @@
-
+
+
+
+ <_BootstrapperFile Condition=" $([MSBuild]::IsOSUnixLike()) ">build.sh
+ <_BootstrapperFile Condition="! $([MSBuild]::IsOSUnixLike()) ">build.cmd
+ <_BootstrapperError>
+ Package references have not been pinned. Run './$(_BootstrapperFile) /t:Pin'.
+ Also, you can run './$(_BootstrapperFile) /t:Restore' which will pin *and* restore packages. '$(_BootstrapperFile)' can be found in '$(MSBuildThisFileDirectory)'.
+
+
+
+
+
diff --git a/NuGet.config b/NuGet.config
index 4e8a1f6de1..20060c934e 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -3,7 +3,6 @@
-
diff --git a/build/dependencies.props b/build/dependencies.props
deleted file mode 100644
index 9946d7ccab..0000000000
--- a/build/dependencies.props
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
- 2.1.0-*
- 4.4.0-*
- 2.1.1-*
- 15.3.409
- 2.0.0-*
- 2.0.0-*
- 15.3.0
- 2.3.0-beta4-build3742
- 0.6.1
-
-
diff --git a/build/repo.props b/build/repo.props
index b123ee35e1..a48caedc22 100644
--- a/build/repo.props
+++ b/build/repo.props
@@ -1,5 +1,7 @@
+
+
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index e150035ea9..9d9a3de33a 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,7 +1,7 @@
-
+
-
+
diff --git a/src/Microsoft.AspNetCore.CertificateGeneration.Task/Microsoft.AspNetCore.CertificateGeneration.Task.csproj b/src/Microsoft.AspNetCore.CertificateGeneration.Task/Microsoft.AspNetCore.CertificateGeneration.Task.csproj
index 33922b9ab1..5c1dc7f13d 100644
--- a/src/Microsoft.AspNetCore.CertificateGeneration.Task/Microsoft.AspNetCore.CertificateGeneration.Task.csproj
+++ b/src/Microsoft.AspNetCore.CertificateGeneration.Task/Microsoft.AspNetCore.CertificateGeneration.Task.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/Microsoft.DotNet.Watcher.Tools/Microsoft.DotNet.Watcher.Tools.csproj b/src/Microsoft.DotNet.Watcher.Tools/Microsoft.DotNet.Watcher.Tools.csproj
index f8860e118f..6315f6e6b0 100644
--- a/src/Microsoft.DotNet.Watcher.Tools/Microsoft.DotNet.Watcher.Tools.csproj
+++ b/src/Microsoft.DotNet.Watcher.Tools/Microsoft.DotNet.Watcher.Tools.csproj
@@ -19,8 +19,8 @@
-
-
+
+
diff --git a/src/Microsoft.Extensions.Caching.SqlConfig.Tools/Microsoft.Extensions.Caching.SqlConfig.Tools.csproj b/src/Microsoft.Extensions.Caching.SqlConfig.Tools/Microsoft.Extensions.Caching.SqlConfig.Tools.csproj
index 62243363fa..61f55ddb17 100644
--- a/src/Microsoft.Extensions.Caching.SqlConfig.Tools/Microsoft.Extensions.Caching.SqlConfig.Tools.csproj
+++ b/src/Microsoft.Extensions.Caching.SqlConfig.Tools/Microsoft.Extensions.Caching.SqlConfig.Tools.csproj
@@ -16,8 +16,8 @@
-
-
+
+
diff --git a/src/Microsoft.Extensions.SecretManager.Tools/Microsoft.Extensions.SecretManager.Tools.csproj b/src/Microsoft.Extensions.SecretManager.Tools/Microsoft.Extensions.SecretManager.Tools.csproj
index 3dc5343a79..aaf954865a 100644
--- a/src/Microsoft.Extensions.SecretManager.Tools/Microsoft.Extensions.SecretManager.Tools.csproj
+++ b/src/Microsoft.Extensions.SecretManager.Tools/Microsoft.Extensions.SecretManager.Tools.csproj
@@ -18,8 +18,8 @@
-
-
+
+
diff --git a/test/Directory.Build.props b/test/Directory.Build.props
index 607b54f498..82ba457f18 100644
--- a/test/Directory.Build.props
+++ b/test/Directory.Build.props
@@ -1,11 +1,11 @@
-
+
-
-
-
-
-
+
+
+
+
+
diff --git a/test/Microsoft.AspNetcore.CertificateGeneration.Task.Tests/Microsoft.AspNetCore.CertificateGeneration.Task.Tests.csproj b/test/Microsoft.AspNetcore.CertificateGeneration.Task.Tests/Microsoft.AspNetCore.CertificateGeneration.Task.Tests.csproj
index 41303778f3..a09751f552 100644
--- a/test/Microsoft.AspNetcore.CertificateGeneration.Task.Tests/Microsoft.AspNetCore.CertificateGeneration.Task.Tests.csproj
+++ b/test/Microsoft.AspNetcore.CertificateGeneration.Task.Tests/Microsoft.AspNetCore.CertificateGeneration.Task.Tests.csproj
@@ -8,4 +8,8 @@
+
+
+
+
diff --git a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/Microsoft.DotNet.Watcher.Tools.FunctionalTests.csproj b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/Microsoft.DotNet.Watcher.Tools.FunctionalTests.csproj
index c00a30bc00..07cb79b4c3 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/Microsoft.DotNet.Watcher.Tools.FunctionalTests.csproj
+++ b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/Microsoft.DotNet.Watcher.Tools.FunctionalTests.csproj
@@ -19,8 +19,8 @@
-
-
+
+
diff --git a/test/Microsoft.DotNet.Watcher.Tools.Tests/AssertEx.cs b/test/Microsoft.DotNet.Watcher.Tools.Tests/AssertEx.cs
index 58e0f06ebd..0ffba97152 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.Tests/AssertEx.cs
+++ b/test/Microsoft.DotNet.Watcher.Tools.Tests/AssertEx.cs
@@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
+using Xunit.Sdk;
namespace Microsoft.DotNet.Watcher.Tools.Tests
{
@@ -21,7 +22,14 @@ namespace Microsoft.DotNet.Watcher.Tools.Tests
{
Func normalize = p => p.Replace('\\', '/');
var expected = new HashSet(expectedFiles.Select(normalize));
- Assert.True(expected.SetEquals(actualFiles.Where(p => !string.IsNullOrEmpty(p)).Select(normalize)), "File sets should be equal");
+ var actual = new HashSet(actualFiles.Where(p => !string.IsNullOrEmpty(p)).Select(normalize));
+ if (!expected.SetEquals(actual))
+ {
+ throw new AssertActualExpectedException(
+ expected: string.Join("\n", expected),
+ actual: string.Join("\n", actual),
+ userMessage: "File sets should be equal");
+ }
}
}
}
diff --git a/test/Microsoft.DotNet.Watcher.Tools.Tests/Microsoft.DotNet.Watcher.Tools.Tests.csproj b/test/Microsoft.DotNet.Watcher.Tools.Tests/Microsoft.DotNet.Watcher.Tools.Tests.csproj
index 14920c0f1e..1bc4dc44ae 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.Tests/Microsoft.DotNet.Watcher.Tools.Tests.csproj
+++ b/test/Microsoft.DotNet.Watcher.Tools.Tests/Microsoft.DotNet.Watcher.Tools.Tests.csproj
@@ -15,8 +15,4 @@
-
-
-
-
diff --git a/testWorkDir/Directory.Build.props b/testWorkDir/Directory.Build.props
new file mode 100644
index 0000000000..b959507df8
--- /dev/null
+++ b/testWorkDir/Directory.Build.props
@@ -0,0 +1,3 @@
+
+
+
diff --git a/testWorkDir/Directory.Build.targets b/testWorkDir/Directory.Build.targets
new file mode 100644
index 0000000000..b959507df8
--- /dev/null
+++ b/testWorkDir/Directory.Build.targets
@@ -0,0 +1,3 @@
+
+
+