[WIP] Removal of additional package feeds set by default (#1561)

Removal of additional package feeds set by default
This commit is contained in:
John Beisner 2019-04-23 10:33:16 -07:00 committed by GitHub
parent 26f838049c
commit ca9216c97d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 9 deletions

View file

@ -136,9 +136,11 @@ namespace EndToEnd.Tests
.Execute(newArgs)
.Should().Pass();
// Work-around for MVC template test until ASP.Net publishes Preview 5 'Microsoft.AspNetCore.Mvc.NewtonsoftJson' to NuGet.org
string restoreArgs = string.Equals(templateName, "mvc", StringComparison.OrdinalIgnoreCase) ? "/p:RestoreAdditionalProjectSources=https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" : "";
new RestoreCommand()
.WithWorkingDirectory(projectDirectory)
.Execute()
.Execute(restoreArgs)
.Should().Pass();
new BuildCommand()