Go to file
Ryan Brandenburg 15ca3dcdaa Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
.vscode
build Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
migrations Detect appversion automatically 2018-05-07 12:30:05 -07:00
src Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
test Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
.appveyor.yml
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets Upgrade to netcoreapp22 2018-05-09 12:11:28 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
README.md
Templating.sln
build.cmd
build.sh
korebuild-lock.txt Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
korebuild.json
run.cmd
run.ps1
run.sh
version.props

README.md

Templates

AppVeyor: AppVeyor

Getting Started

ASP.NET Templates provide project templates which are used in .NET Core for creating ASP.NET Core applications.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.

Building Templates

  • Running build.cmd in this repo requires NPM which can be installed from https://nodejs.org/en/.
  • The ASP.NET localhost development certificate must also be installed and trusted or else you'll get a test error "Certificate error: Navigation blocked".
  • build.cmd (or build /t:package to avoid tests) will produce NuGet packages for each class of template in the artifacts directory. These can be installed via dotnet new -i {nugetpackage path}
  • You also need to get the packages these templates depend on into your package cache or else dotnet new restore will fail. The easiest way to get them to run is by letting the build run at least 1 test.