Remove Microsoft.DotNet.Cli.Utils from nuspec

This commit is contained in:
Nate McMaster 2016-11-17 15:43:52 -08:00
parent a0e07744c0
commit c8870a80a7
No known key found for this signature in database
GPG Key ID: BD729980AA6A21BD
2 changed files with 4 additions and 5 deletions

View File

@ -14,10 +14,9 @@
</packageTypes>
<dependencies>
<group targetFramework=".NETCoreApp1.0">
<dependency id="Microsoft.DotNet.Cli.Utils" version="$dep_1$" />
<dependency id="Microsoft.Extensions.Logging" version="$dep_2$" />
<dependency id="Microsoft.Extensions.Logging.Console" version="$dep_3$" />
<dependency id="Microsoft.NETCore.App" version="$dep_4$" />
<dependency id="Microsoft.Extensions.Logging" version="$dep_1$" />
<dependency id="Microsoft.Extensions.Logging.Console" version="$dep_2$" />
<dependency id="Microsoft.NETCore.App" version="$dep_3$" />
</group>
</dependencies>
</metadata>

View File

@ -31,7 +31,7 @@ namespace NuGetPackager
var project = ProjectContext.Create(Path.GetDirectoryName(nuspec), FrameworkConstants.CommonFrameworks.NetCoreApp10);
var idx = 0;
var props = "";
var first = false;
var first = true;
foreach (var depVersion in GetDependencies(project).OrderBy(p => p.Item1).Select(p => p.Item2))
{
if (first)