aspnetcore/src/Templating
Ryan Brandenburg 1ee4e2b936 Merge remote-tracking branch 'origin/release/2.1' into rybrande/Mondo2.2 2018-11-21 16:33:42 -08:00
..
build Revert back to 2.2 2018-11-20 16:00:48 -08:00
migrations Fix templating casing 2018-11-20 12:53:46 -08:00
scripts Fix templating casing 2018-11-20 12:53:46 -08:00
src Remove extras 2018-11-20 16:06:40 -08:00
test Fix tests 2018-11-20 16:08:17 -08:00
.gitignore Fix templating casing 2018-11-20 12:53:46 -08:00
Directory.Build.props Fix RepositoryUrls 2018-11-21 15:55:40 -08:00
Directory.Build.targets Revert back to 2.2 2018-11-20 16:00:48 -08:00
NuGetPackageVerifier.json Fix templating casing 2018-11-20 12:53:46 -08:00
README.md Fix templating casing 2018-11-20 12:53:46 -08:00
Templating.sln Fix templating casing 2018-11-20 12:53:46 -08:00
version.props Fix templating casing 2018-11-20 12:53:46 -08:00

README.md

Templates

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.

Running end-to-end tests

Prerequisites:

  • Install selenium-standalone (requires Java 8 or 9)
  • Open JDK9
  • npm install -g selenium-standalone
  • selenium-standalone install
  • Chrome Run selenium-standalone start Run build.cmd /t:Test