diff --git a/build/BundledTemplates.props b/build/BundledTemplates.props index 1d7ef3d55..59606c8b5 100644 --- a/build/BundledTemplates.props +++ b/build/BundledTemplates.props @@ -1,6 +1,7 @@ + diff --git a/build/DependencyVersions.props b/build/DependencyVersions.props index 845372b9c..f076b8b89 100644 --- a/build/DependencyVersions.props +++ b/build/DependencyVersions.props @@ -11,9 +11,9 @@ $(CLI_SharedFrameworkVersion) $(CLI_SharedFrameworkVersion) $(CLI_SharedFrameworkVersion) - 1.0.0-beta2-20170410-189 - 1.0.0-beta2-20170410-189 - 1.0.0-beta2-20170410-189 + 1.0.0-beta2-20170421-198 + 1.0.0-beta2-20170421-198 + 1.0.0-beta2-20170421-198 2.0.0-preview2-002066 2.0.0-preview2-002066 0.1.0-alpha-142 diff --git a/build/compile/LzmaArchive.targets b/build/compile/LzmaArchive.targets index df6e34f30..ae7bf4646 100644 --- a/build/compile/LzmaArchive.targets +++ b/build/compile/LzmaArchive.targets @@ -78,7 +78,7 @@ - + @@ -91,15 +91,16 @@ Lines="$(NuGetConfigContent)" /> + TemplateType="mvc" + TemplateArgs="-au Individual --debug:ephemeral-hive --no-restore" + WorkingDirectory="$(NuGetPackagesArchiveProject)/MvcIndividual" /> + WorkingDirectory="$(NuGetPackagesArchiveProject)/MvcIndividual" /> + diff --git a/build_projects/dotnet-cli-build/GenerateNuGetPackagesArchiveVersion.cs b/build_projects/dotnet-cli-build/GenerateNuGetPackagesArchiveVersion.cs index 316f813de..4ba8fb393 100644 --- a/build_projects/dotnet-cli-build/GenerateNuGetPackagesArchiveVersion.cs +++ b/build_projects/dotnet-cli-build/GenerateNuGetPackagesArchiveVersion.cs @@ -29,7 +29,7 @@ namespace Microsoft.DotNet.Cli.Build private static string[][] _templatesAndArgs = new string[][] { - new string[] { "console", "" }, + new string[] { "mvc", "-au individual" }, }; public override bool Execute() diff --git a/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs b/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs index e6f540c70..ce6d8aff0 100644 --- a/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs +++ b/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs @@ -21,9 +21,8 @@ namespace Microsoft.DotNet.New.Tests [InlineData("C#", "mstest", false)] [InlineData("C#", "xunit", false)] [InlineData("C#", "web", false)] - // Uncomment the tests below in PR#6362 - //[InlineData("C#", "mvc", false)] - //[InlineData("C#", "webapi", false)] + [InlineData("C#", "mvc", false)] + [InlineData("C#", "webapi", false)] // Uncomment the test below once https://github.com/dotnet/netcorecli-fsc/issues/92 is fixed. //[InlineData("F#", "console", false)] //[InlineData("F#", "classlib", false)] diff --git a/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs b/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs index d3ff7008c..fa6e693e2 100644 --- a/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs +++ b/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs @@ -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 unexpectedDirectories = new List() - { "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()