Skip to content

https://aka.ms/dotnet-install-templates has bad redirect + No "Install templates docs" #4018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks
shanselman opened this issue Aug 18, 2017 · 4 comments
Closed
3 tasks
Assignees
Labels
Pri0 Urgent priority

Comments

@shanselman
Copy link
Contributor

With SDKs backward compatible (without global.json) it possible to create a .NET Core 1.1 application by using the new version, such as
dotnet new console --framework netcoreapp1.1
This returns with an error that this is not a valid value for –framework and a link to install additional templates: https://aka.ms/dotnet-install-templates
It would be ideal if this link showed how to install a template for .NET Core 1.1 with the the .NET Core 2.0 SDK as well as the general "how to install templates" topic.
However, this aka link redirects to Introduction to ASP.NET Core: https://docs.microsoft.com/en-us/aspnet/core/

I see a few to-dos here:

/cc @mlorbetske @RickAndMSFT

@mlorbetske
Copy link

/cc @sayedihashimi

@shanselman
Copy link
Contributor Author

From Mike, some starter text:

To install the 1.0 and 1.1 project templates, please run one or more of the following commands

For web templates:
dotnet new -i Microsoft.DotNet.Web.ProjectTemplates.1.x::1.0.0-*

For class library or console apps:
dotnet new -i Microsoft.DotNet.Common.ProjectTemplates.1.x::1.0.0-*

For unit test projects:
dotnet new -i Microsoft.DotNet.Test.ProjectTemplates.1.x::1.0.0-*

@danroth27
Copy link
Member

@Rick-Anderson @tdykstra

@rachelappel
Copy link
Contributor

Move to this repo: dotnet/docs#3178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri0 Urgent priority
Projects
None yet
Development

No branches or pull requests

5 participants