Go to file
Ryan Nowak 1962989ffc Implement a .Design package and some testing for MSBuild
This is the first step in adding support for Razor compilation at build
time. Additional steps will complete this by adding tag helper
discovery, code generation and finally a call to CsC.

I want to get this in now to get the package into the build system and
to lay down the general infrastructure for testing.

---

The strategy for testing here is to use checked in projects that have
everything Razor needs to compile code. We already have shims for the
APIs Razor uses by default in this repo and I'm using them in the
project.

The test infrastructure creates a temporary directory, copies the
project, and fixes up a few small things to cooperate with outputs we've
already built so that the test can use the new versions of Razor bits
built from this repo.

We can then call various MSBuild targets and verify the files on disk. I
envision tests that verify incrementalism as well as the basic E2E.

We will test the E2E in general in other places, since it's part of the
new default experience. This repo will test things at a higher level of
detail, but in slightly artifical scenarios.
2017-12-13 15:06:10 -08:00
build Update dependencies.props 2017-12-13 21:33:19 +00:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Implement a .Design package and some testing for MSBuild 2017-12-13 15:06:10 -08:00
test Implement a .Design package and some testing for MSBuild 2017-12-13 15:06:10 -08:00
tooling Make DefaultTagHelperResolver use the correct GetTagHelpersAsync. 2017-12-12 16:26:55 -08:00
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Remove unneeded exclusion 2017-12-04 12:49:33 -08:00
README.md
Razor.Slim.sln
Razor.sln Implement a .Design package and some testing for MSBuild 2017-12-13 15:06:10 -08:00
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2017-12-13 21:33:19 +00:00
korebuild.json
run.cmd
run.ps1 Update bootstrappers 2017-12-01 12:29:02 -08:00
run.sh Update bootstrappers 2017-12-01 12:29:02 -08:00
version.props Add MonoDevelop.Core and MonoDevelop.Ide addin dependencies. 2017-12-04 17:35:54 -08:00

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

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 from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments. See developer documentation for more details.