Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support caching even when running RazorEngine as part of the build script. #979

Merged
merged 2 commits into from
Oct 14, 2015

Conversation

matthid
Copy link
Member

@matthid matthid commented Oct 14, 2015

Found while investigating fsprojects/FSharp.Formatting#337.
Also shows the name of the assembly which disables the cache.

if dynamicAssemblies |> Seq.length > 0 then
if printDetails then
trace "Dynamic assemblies were generated during evaluation of script.\nCan not save cache."
if printDetails then
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should always show a message when caching was not possible instead of only with --printdetails. (Which means I think we should removing this line)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@matthid
Copy link
Member Author

matthid commented Oct 14, 2015

ok done.

forki added a commit that referenced this pull request Oct 14, 2015
support caching even when running RazorEngine as part of the build script.
@forki forki merged commit 5b592d7 into fsprojects:master Oct 14, 2015
@matthid matthid deleted the support_razorengine branch June 16, 2017 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants