related #7377 |
||
|---|---|---|
| .. | ||
| Web.Client.ItemTemplates | ||
| Web.ItemTemplates | ||
| Web.ProjectTemplates | ||
| Web.Spa.ProjectTemplates | ||
| migrations | ||
| scripts | ||
| test | ||
| testassets/DotNetToolsInstaller | ||
| .gitignore | ||
| Directory.Build.props | ||
| Directory.Build.targets | ||
| GenerateContent.targets | ||
| README.md | ||
| SetPackageProperties.targets | ||
| THIRD-PARTY-NOTICES | ||
| TemplateProjects.props | ||
| build.cmd | ||
| templates.nuspec | ||
README.md
Templates
Getting Started
These are project templates which are used in .NET Core for creating ASP.NET Core applications.
Building Templates
- Run
build.cmd -Packin the repository root to build all of the dependencies. - Run
build.cmdin this directory will produce NuGet packages for each class of template in the artifacts directory. These can be installed viadotnet new -i {nugetpackage path} - The ASP.NET localhost development certificate must also be installed and trusted or else you'll get a test error "Certificate error: Navigation blocked".
- You also need to get the packages these templates depend on into your package cache or else
dotnet newrestore will fail. The easiest way to get them to run is by letting the build run at least 1 test. Note currently some packages are missed. https://github.com/aspnet/AspNetCore/issues/7388