Old Razor Pre-compilation project.json
{ | |
"dependencies": { | |
"Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Design": { | |
"version": "1.1.0-preview4-final", | |
"type": "build" | |
} | |
}, | |
"tools": { | |
"Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tools": "1.1.0-preview4-final" | |
}, | |
"buildOptions": { | |
"preserveCompilationContext": true | |
}, | |
"scripts": { | |
"postpublish": [ | |
"dotnet razor-precompile --configuration %publish:Configuration% --framework %publish:TargetFramework% --output-path %publish:OutputPath% %publish:ProjectPath%" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment