Update dotnet new to generate a "2.0" project.

This commit is contained in:
Eric Erhardt 2017-01-27 17:46:55 -06:00
parent 23207df2ae
commit fd65cb03b6
16 changed files with 83 additions and 66 deletions

View file

@ -21,13 +21,15 @@ namespace Microsoft.DotNet.Cli.Build
[Required]
public string RepoRoot { get; set; }
[Required]
public string SharedFrameworkVersion { get; set; }
[Output]
public String Version { get; set; }
private static string[] s_TemplatesToArchive = new string[]
{
"CSharp_Web",
"CSharp_Web1.1",
"CSharp_Console",
};
public override bool Execute()
@ -59,6 +61,8 @@ namespace Microsoft.DotNet.Cli.Build
}
}
}
dataToHash += SharedFrameworkVersion;
}
Log.LogMessage($"NuGet Packages Archive Data To Hash: '{dataToHash}'");