Merge pull request #6362 from mlorbetske/dev/mlorbe/Update20Templates

Update templates and engine, pin ASP.NET package versions, add web item templates
This commit is contained in:
Livar 2017-04-22 11:52:54 -07:00 committed by Livar Cunha
parent 542981f307
commit 4f6fbc4a7f
6 changed files with 15 additions and 22 deletions

View file

@ -97,11 +97,6 @@ A command is running to initially populate your local package cache, to improve
"microsoft.netcore.app",
"microsoft.netcore.platforms",
"netstandard.library",
};
// https://github.com/dotnet/cli/issues/5505 - add the "2.0" asp.net packages into the offline cache
List<string> unexpectedDirectories = new List<string>()
{
"microsoft.aspnetcore.diagnostics",
"microsoft.aspnetcore.mvc",
"microsoft.aspnetcore.routing",
@ -114,16 +109,13 @@ A command is running to initially populate your local package cache, to improve
"microsoft.extensions.logging.console",
"microsoft.extensions.logging.debug",
"microsoft.extensions.options.configurationextensions",
"microsoft.visualstudio.web.browserlink",
//BrowserLink has been temporarily disabled until https://github.com/dotnet/templating/issues/644 is resolved
//"microsoft.visualstudio.web.browserlink",
};
_nugetFallbackFolder
.Should()
.HaveDirectories(expectedDirectories);
_nugetFallbackFolder
.Should()
.NotHaveDirectories(unexpectedDirectories);
}
private string GetDotnetVersion()