Remove System.CommandLine dependency.

Also removed the dependency on Microsoft.Extensions.CommandLineUtils.Sources NuGet package and instead just checking the source files into our repo as internal classes.

Fix #2526
This commit is contained in:
Eric Erhardt 2016-04-19 22:51:32 -05:00
parent d06418509d
commit 44483ddc98
41 changed files with 1411 additions and 840 deletions

View file

@ -1,15 +1,11 @@
// 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Microsoft.Dnx.Runtime.Common.CommandLine;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using NuGet.Frameworks;
using static System.Int32;
namespace Microsoft.DotNet.Tools.DependencyInvoker
{

View file

@ -3,6 +3,10 @@
"compilationOptions": {
"emitEntryPoint": true
},
"compile": [
"**/*.cs",
"../../../src/dotnet/CommandLine/*.cs"
],
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
@ -10,12 +14,7 @@
},
"Microsoft.DotNet.Cli.Utils": "1.0.0-*",
"Microsoft.DotNet.ProjectModel": "1.0.0-*",
"Microsoft.DotNet.Compiler.Common": "1.0.0-*",
"Microsoft.Extensions.CommandLineUtils.Sources": {
"type": "build",
"version": "1.0.0-rc2-16453"
},
"System.CommandLine": "0.1.0-e160323-1"
"Microsoft.DotNet.Compiler.Common": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": {