[Archived] ASP.NET Core templates for .NET CLI and Visual Studio. Project moved to https://github.com/aspnet/AspNetCore
Перейти к файлу
Ryan Brandenburg 8bffcc8f69 Include Razor.Design dep that was missing in master 2018-10-12 09:46:50 -07:00
.vscode Generate the MSBuild files instead of the template.json files to workaround localization issues in the tempalting engine 2017-10-26 16:13:01 -07:00
.vsts-pipelines Merge branch 'merge/release/2.2-to-master' 2018-08-23 10:32:20 -07:00
build Include Razor.Design dep that was missing in master 2018-10-12 09:46:50 -07:00
migrations Update templating to use netcoreapp3.0 2018-06-29 16:32:30 -07:00
scripts Don't use depricated methods (#751) 2018-09-26 12:50:24 -07:00
src automated: merge branch release/2.2 2018-09-28 17:28:07 -07:00
test Merge branch 'merge/release/2.2-to-master' 2018-09-17 11:58:51 -07:00
.appveyor.yml Merge branch 'merge/release/2.2-to-master' 2018-08-06 13:01:08 -07:00
.gitattributes Add .gitattributes file 2018-08-13 11:12:31 -07:00
.gitignore Add package version to Microsoft.AspNetCore.App in project templates 2018-07-03 16:53:46 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-07-24 10:57:53 -07:00
Directory.Build.props Fix package metadata to match default settings for aspnetcore (#389) 2018-03-21 18:10:31 -07:00
Directory.Build.targets Merge branch 'release/2.2' 2018-07-03 17:55:29 -07:00
LICENSE.txt Update LICENSE.txt 2018-09-27 15:25:42 -07:00
NuGet.config Automate dependency version selection 2017-10-12 16:44:55 -07:00
NuGetPackageVerifier.json Update templating to use netcoreapp3.0 2018-06-29 16:32:30 -07:00
README.md Use bootstrap4 for templates 2018-08-06 10:16:35 -07:00
Templating.sln Use dotnet-ef package (#433) 2018-04-03 10:36:06 -07:00
build.cmd Update Bootstrappers 2017-10-30 11:02:43 -07:00
build.sh Pin templating to build tools 2.1.0-preview1-15552 2017-11-03 14:15:53 -07:00
korebuild-lock.txt Update dependencies.props 2018-09-23 19:34:32 +00:00
korebuild.json [automated] Change default branch to master 2018-07-02 12:40:39 -07:00
run.cmd Update Bootstrappers 2017-10-30 11:02:43 -07:00
run.ps1 automated: bulk infrastructure updates. Update bootstrapper scripts and remove unnecessary signing properties 2018-09-28 17:10:41 -07:00
run.sh automated: bulk infrastructure updates. Update bootstrapper scripts and remove unnecessary signing properties 2018-09-28 17:10:41 -07:00
version.props Update branding to 2.2.0-preview3 2018-09-05 16:36:37 -07: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