diff --git a/DotNetTools.sln b/DotNetTools.sln
index f39e982eb5..4f9600fad4 100644
--- a/DotNetTools.sln
+++ b/DotNetTools.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
-VisualStudioVersion = 15.0.26020.0
+VisualStudioVersion = 15.0.26118.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{66517987-2A5A-4330-B130-207039378FD4}"
EndProject
diff --git a/build/common.props b/build/common.props
index fd3cb24b9c..61157a7f65 100644
--- a/build/common.props
+++ b/build/common.props
@@ -8,10 +8,11 @@
$(MSBuildThisFileDirectory)Key.snk
true
true
+ $(VersionSuffix)-$(BuildNumber)
-
+
\ No newline at end of file
diff --git a/global.json b/global.json
deleted file mode 100644
index 1e3e060e88..0000000000
--- a/global.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "sdk": {
- "version": "1.0.0-preview4-004233"
- }
-}
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 7287ab240f..ee7f2acb06 100644
--- a/src/Microsoft.DotNet.Watcher.Tools/Microsoft.DotNet.Watcher.Tools.csproj
+++ b/src/Microsoft.DotNet.Watcher.Tools/Microsoft.DotNet.Watcher.Tools.csproj
@@ -9,21 +9,21 @@
Microsoft.DotNet.Watcher.Tools
dotnet;watch
DotnetCliTool
+ 1.0.0
+ toolassets
-
-
-
-
+
-
-
+
+
+
\ No newline at end of file
diff --git a/src/Microsoft.DotNet.Watcher.Tools/Sources/ProcessHelper.cs b/src/Microsoft.DotNet.Watcher.Tools/Sources/ProcessHelper.cs
deleted file mode 100644
index eccf4ddd3c..0000000000
--- a/src/Microsoft.DotNet.Watcher.Tools/Sources/ProcessHelper.cs
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright (c) .NET Foundation. All rights reserved.
-// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-// TODO remove and using Microsoft.Extensions.Process.Sources when https://github.com/dotnet/sdk/issues/115 is fixed
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Runtime.InteropServices;
-
-namespace Microsoft.Extensions.Internal
-{
- internal static class ProcessExtensions
- {
- private static readonly bool _isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
- private static readonly TimeSpan _defaultTimeout = TimeSpan.FromSeconds(30);
-
- public static void KillTree(this Process process)
- {
- process.KillTree(_defaultTimeout);
- }
-
- public static void KillTree(this Process process, TimeSpan timeout)
- {
- string stdout;
- if (_isWindows)
- {
- RunProcessAndWaitForExit(
- "taskkill",
- $"/T /F /PID {process.Id}",
- timeout,
- out stdout);
- }
- else
- {
- var children = new HashSet();
- GetAllChildIdsUnix(process.Id, children, timeout);
- foreach (var childId in children)
- {
- KillProcessUnix(childId, timeout);
- }
- KillProcessUnix(process.Id, timeout);
- }
- }
-
- private static void GetAllChildIdsUnix(int parentId, ISet children, TimeSpan timeout)
- {
- string stdout;
- var exitCode = RunProcessAndWaitForExit(
- "pgrep",
- $"-P {parentId}",
- timeout,
- out stdout);
-
- if (exitCode == 0 && !string.IsNullOrEmpty(stdout))
- {
- using (var reader = new StringReader(stdout))
- {
- while (true)
- {
- var text = reader.ReadLine();
- if (text == null)
- {
- return;
- }
-
- int id;
- if (int.TryParse(text, out id))
- {
- children.Add(id);
- // Recursively get the children
- GetAllChildIdsUnix(id, children, timeout);
- }
- }
- }
- }
- }
-
- private static void KillProcessUnix(int processId, TimeSpan timeout)
- {
- string stdout;
- RunProcessAndWaitForExit(
- "kill",
- $"-TERM {processId}",
- timeout,
- out stdout);
- }
-
- private static int RunProcessAndWaitForExit(string fileName, string arguments, TimeSpan timeout, out string stdout)
- {
- var startInfo = new ProcessStartInfo
- {
- FileName = fileName,
- Arguments = arguments,
- RedirectStandardOutput = true,
- UseShellExecute = false
- };
-
- var process = Process.Start(startInfo);
-
- stdout = null;
- if (process.WaitForExit((int)timeout.TotalMilliseconds))
- {
- stdout = process.StandardOutput.ReadToEnd();
- }
- else
- {
- process.Kill();
- }
-
- return process.ExitCode;
- }
- }
-}
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 62744be02a..468900312f 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
@@ -8,17 +8,18 @@
Microsoft.Extensions.Caching.SqlConfig.Tools
cache;distributedcache;sqlserver
DotnetCliTool
+ 1.0.0
-
-
-
+
+
+
\ No newline at end of file
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 980cfe6174..9730829536 100644
--- a/src/Microsoft.Extensions.SecretManager.Tools/Microsoft.Extensions.SecretManager.Tools.csproj
+++ b/src/Microsoft.Extensions.SecretManager.Tools/Microsoft.Extensions.SecretManager.Tools.csproj
@@ -9,19 +9,19 @@
configuration;secrets;usersecrets
DotnetCliTool
false
+ 1.0.0
-
-
-
-
+
+
+
\ No newline at end of file
diff --git a/src/workaround.targets b/src/workaround.targets
new file mode 100644
index 0000000000..4068dffd93
--- /dev/null
+++ b/src/workaround.targets
@@ -0,0 +1,23 @@
+
+
+
+ $(DefaultItemExcludes);lib\**\*
+
+
+
+
+ <_PackageFiles Include="lib\netcoreapp1.0\*.json" BuildAction="None" PackagePath="%(Identity)" />
+
+
+
+
+
+
+
\ No newline at end of file
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 f17eaf1ea3..1ef391c545 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
@@ -4,10 +4,10 @@
netcoreapp1.0;netcoreapp1.1
+ $(DefaultItemExcludes);TestProjects\**\*
-
@@ -18,19 +18,11 @@
-
+
-
-
-
-
-
-
-
-
diff --git a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/AppWithDeps/AppWithDeps.csproj b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/AppWithDeps/AppWithDeps.csproj
index 72f0c81be3..93142c90b5 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/AppWithDeps/AppWithDeps.csproj
+++ b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/AppWithDeps/AppWithDeps.csproj
@@ -6,10 +6,7 @@
-
-
-
\ No newline at end of file
diff --git a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/Dependency/Dependency.csproj b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/Dependency/Dependency.csproj
index 88921254ff..cbdcf50173 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/Dependency/Dependency.csproj
+++ b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/Dependency/Dependency.csproj
@@ -2,13 +2,6 @@
netstandard1.5
- library
-
-
-
-
-
-
\ No newline at end of file
diff --git a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/GlobbingApp/GlobbingApp.csproj b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/GlobbingApp/GlobbingApp.csproj
index b0eeb14f53..e714c10c3b 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/GlobbingApp/GlobbingApp.csproj
+++ b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/GlobbingApp/GlobbingApp.csproj
@@ -3,12 +3,11 @@
netcoreapp1.0
exe
+ false
-
-
\ No newline at end of file
diff --git a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/NoDepsApp/NoDepsApp.csproj b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/NoDepsApp/NoDepsApp.csproj
index df52967c84..b10a1c94fc 100644
--- a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/NoDepsApp/NoDepsApp.csproj
+++ b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/TestProjects/NoDepsApp/NoDepsApp.csproj
@@ -5,10 +5,4 @@
exe
-
-
-
-
-
-
\ No newline at end of file
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 bcbea67722..424f9ab2cd 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
@@ -7,7 +7,6 @@
-
@@ -16,8 +15,7 @@
-
-
+
diff --git a/test/Microsoft.Extensions.SecretManager.Tools.Tests/Microsoft.Extensions.SecretManager.Tools.Tests.csproj b/test/Microsoft.Extensions.SecretManager.Tools.Tests/Microsoft.Extensions.SecretManager.Tools.Tests.csproj
index bba12173eb..59300c6a2f 100644
--- a/test/Microsoft.Extensions.SecretManager.Tools.Tests/Microsoft.Extensions.SecretManager.Tools.Tests.csproj
+++ b/test/Microsoft.Extensions.SecretManager.Tools.Tests/Microsoft.Extensions.SecretManager.Tools.Tests.csproj
@@ -7,14 +7,12 @@
-
-
-
+
diff --git a/test/Microsoft.Extensions.SecretManager.Tools.Tests/UserSecretsTestFixture.cs b/test/Microsoft.Extensions.SecretManager.Tools.Tests/UserSecretsTestFixture.cs
index 569ee1c6c3..acc027e840 100644
--- a/test/Microsoft.Extensions.SecretManager.Tools.Tests/UserSecretsTestFixture.cs
+++ b/test/Microsoft.Extensions.SecretManager.Tools.Tests/UserSecretsTestFixture.cs
@@ -37,11 +37,11 @@ namespace Microsoft.Extensions.Configuration.UserSecrets.Tests
Exe
netcoreapp1.0
{0}
+ false
-
-
+
";
diff --git a/test/Microsoft.Extensions.Tools.Tests/Microsoft.Extensions.Tools.Tests.csproj b/test/Microsoft.Extensions.Tools.Tests/Microsoft.Extensions.Tools.Tests.csproj
index 4401acb259..0e2d61d78e 100644
--- a/test/Microsoft.Extensions.Tools.Tests/Microsoft.Extensions.Tools.Tests.csproj
+++ b/test/Microsoft.Extensions.Tools.Tests/Microsoft.Extensions.Tools.Tests.csproj
@@ -7,13 +7,11 @@
-
-
-
+