StackExchange.Precompilation.Build 4.7.0

Replaces CSC and aspnet_compiler.exe with StackExchange.Precompiler for compiling C# (.cs) and Razor View (.cshtml) files in asp.net mvc 5 projects.

Install-Package StackExchange.Precompilation.Build -Version 4.7.0
dotnet add package StackExchange.Precompilation.Build --version 4.7.0
<PackageReference Include="StackExchange.Precompilation.Build" Version="4.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StackExchange.Precompilation.Build --version 4.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StackExchange.Precompilation.Build, 4.7.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install StackExchange.Precompilation.Build as a Cake Addin
#addin nuget:?package=StackExchange.Precompilation.Build&version=4.7.0

// Install StackExchange.Precompilation.Build as a Cake Tool
#tool nuget:?package=StackExchange.Precompilation.Build&version=4.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 4.7.0
* updated roslyn packages to 2.7.0
* cleaned up diagnostics numbers
* report source text in razor HttpParseExceptions
* report razor parser errors diagnostics during precompilation

Version 4.6.1
* fixed perf regression due to missing app.config with proper GC settings in the .Build package
* updated roslyn packages to latest version (2.6.1)
* fixed remoting runtime exception in long builds

Version 4.6
* updated roslyn packages to latest version (2.6)
* fixed case where layout and view page weren't resolvable by the same view engine

Version 4.5
* upped MVC5 to latest minor version (5.2.3)
* razor cache directory option can ge passed in via PRECOMPILATION_RAZORCACHEDIRECTORY environment variable

Version 4.4
* added configurable support for caching the razor (.cshtml -> .cs) generation step
* added optional razorCache element to the precompilation configuration section
* fixing non-default langversion bug
* better handling of failing precompilation modules
* don't ouput hidden diagnostics to console
* updated roslyn packages to 2.4.0

Version 4.1.1
* updated roslyn packages to 2.3.2

Version 4.1.0
* updated roslyn packages to 2.3.1
* don't emit pdb files when debugtype embedded
* pathmap support

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.7.0 15,204 3/23/2018
4.6.1 6,354 1/19/2018
4.6.0 676 1/3/2018
4.5.0 1,042 11/13/2017
4.4.0 3,007 10/18/2017
4.1.1 873 9/5/2017
4.0.0 3,626 7/11/2017
3.3.0 55,201 8/17/2016
3.2.1 3,592 5/30/2016
3.2.0 3,798 4/12/2016
3.1.1 644 2/26/2016
3.0.2 663 12/7/2015
3.0.0 1,972 7/23/2015