Placeholder for template update
This commit is contained in:
parent
b7692237d1
commit
e145ca88e4
7 changed files with 14 additions and 12 deletions
|
@ -3,6 +3,8 @@
|
|||
<packageSources>
|
||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||
<clear />
|
||||
<add key="AspNet1.1" value="https://dotnet.myget.org/F/aspnet-1-1-1-patch/api/v3/index.json" />
|
||||
<add key="AspNet1.0" value="https://dotnet.myget.org/F/aspnet-1-0-4-patch/api/v3/index.json" />
|
||||
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
||||
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
||||
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
<ItemGroup>
|
||||
<BundledTemplate Include="Microsoft.DotNet.Common.ItemTemplates" Version="$(TemplateEngineTemplateVersion)" />
|
||||
<BundledTemplate Include="Microsoft.DotNet.Common.ProjectTemplates" Version="$(TemplateEngineTemplateVersion)" />
|
||||
<BundledTemplate Include="Microsoft.DotNet.Test.ProjectTemplates" Version="$(TemplateEngineTemplateVersion)" />
|
||||
<BundledTemplate Include="Microsoft.DotNet.Web.ProjectTemplates" Version="$(TemplateEngineTemplateVersion)" />
|
||||
<BundledTemplate Include="Microsoft.DotNet.Common.ProjectTemplates.1.x" Version="$(TemplateEngineTemplateVersion)" />
|
||||
<BundledTemplate Include="Microsoft.DotNet.Test.ProjectTemplates.1.x" Version="$(TemplateEngineTemplateVersion)" />
|
||||
<BundledTemplate Include="Microsoft.DotNet.Web.ProjectTemplates.1.x" Version="$(TemplateEngineTemplateVersion)" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<CLI_WEBSDK_Version>1.0.0-alpha-20170130-3-281</CLI_WEBSDK_Version>
|
||||
<CLI_TestPlatform_Version>15.0.0-preview-20170217-05</CLI_TestPlatform_Version>
|
||||
<TemplateEngineVersion>1.0.0-beta1-20170202-111</TemplateEngineVersion>
|
||||
<TemplateEngineTemplateVersion>1.0.0-beta1-20170206-112</TemplateEngineTemplateVersion>
|
||||
<TemplateEngineTemplateVersion>1.0.0-beta1-20170221-124</TemplateEngineTemplateVersion>
|
||||
<PlatformAbstractionsVersion>1.1.1</PlatformAbstractionsVersion>
|
||||
<DependencyModelVersion>1.0.2</DependencyModelVersion>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
|
||||
<DotNetNew ToolPath="$(Stage2Directory)"
|
||||
TemplateType="Mvc"
|
||||
TemplateArgs="-au Individual --debug:ephemeral-hive"
|
||||
TemplateArgs="-au Individual --debug:ephemeral-hive --no-tools"
|
||||
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
|
||||
|
||||
<DotNetRestore ToolPath="$(Stage2Directory)"
|
||||
|
@ -98,7 +98,7 @@
|
|||
|
||||
<DotNetNew ToolPath="$(Stage2Directory)"
|
||||
TemplateType="Mvc"
|
||||
TemplateArgs="-au Individual -f netcoreapp1.1 --debug:ephemeral-hive"
|
||||
TemplateArgs="-au Individual -f netcoreapp1.1 --debug:ephemeral-hive --no-tools"
|
||||
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web1.1" />
|
||||
|
||||
<DotNetRestore ToolPath="$(Stage2Directory)"
|
||||
|
|
|
@ -26,8 +26,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
private static string[][] _templatesAndArgs = new string[][]
|
||||
{
|
||||
new string[] { "mvc", "-au Individual -f netcoreapp1.0" },
|
||||
new string[] { "mvc", "-au Individual -f netcoreapp1.1" }
|
||||
new string[] { "mvc", "-au Individual -f netcoreapp1.0 --no-tools" },
|
||||
new string[] { "mvc", "-au Individual -f netcoreapp1.1 --no-tools" }
|
||||
};
|
||||
|
||||
public override bool Execute()
|
||||
|
|
|
@ -12,8 +12,8 @@ namespace Microsoft.DotNet.Configurer
|
|||
{
|
||||
private static IReadOnlyList<IReadOnlyList<string>> _templatesUsedToPrimeCache = new List<IReadOnlyList<string>>()
|
||||
{
|
||||
new List<string>() { "mvc", "-f", "netcoreapp1.0", "-au", "Individual", "--debug:ephemeral-hive" },
|
||||
new List<string>() { "mvc", "-f", "netcoreapp1.1", "-au", "Individual", "--debug:ephemeral-hive" }
|
||||
new List<string>() { "mvc", "-f", "netcoreapp1.0", "-au", "Individual", "--debug:ephemeral-hive", "--no-tools" },
|
||||
new List<string>() { "mvc", "-f", "netcoreapp1.1", "-au", "Individual", "--debug:ephemeral-hive", "--no-tools" }
|
||||
};
|
||||
|
||||
private readonly ICommandFactory _commandFactory;
|
||||
|
|
|
@ -63,10 +63,10 @@ namespace Microsoft.DotNet.Configurer.UnitTests
|
|||
SetupCommandMock(_dotnetNewCommandMock);
|
||||
|
||||
commandFactoryMock
|
||||
.Setup(c => c.Create("new", new[] { "mvc", "-f", "netcoreapp1.0", "-au", "Individual", "--debug:ephemeral-hive" }, null, Constants.DefaultConfiguration))
|
||||
.Setup(c => c.Create("new", new[] { "mvc", "-f", "netcoreapp1.0", "-au", "Individual", "--debug:ephemeral-hive", "--no-tools" }, null, Constants.DefaultConfiguration))
|
||||
.Returns(_dotnetNewCommandMock.Object);
|
||||
commandFactoryMock
|
||||
.Setup(c => c.Create("new", new[] { "mvc", "-f", "netcoreapp1.1", "-au", "Individual", "--debug:ephemeral-hive" }, null, Constants.DefaultConfiguration))
|
||||
.Setup(c => c.Create("new", new[] { "mvc", "-f", "netcoreapp1.1", "-au", "Individual", "--debug:ephemeral-hive", "--no-tools" }, null, Constants.DefaultConfiguration))
|
||||
.Returns(_dotnetNewCommandMock.Object);
|
||||
|
||||
_dotnetRestoreCommandMock = new Mock<ICommand>();
|
||||
|
|
Loading…
Reference in a new issue