Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Better diagnostics when precompiled view lookup fails #6258

Closed
pranavkm opened this issue May 11, 2017 · 3 comments
Closed

Better diagnostics when precompiled view lookup fails #6258

pranavkm opened this issue May 11, 2017 · 3 comments

Comments

@pranavkm
Copy link
Contributor

pranavkm commented May 11, 2017

Copied from #4426 (comment)

Since razor precompilation will be on by default on the publish stage, more people will be affected by this.*

The issue I see here is that people developing on windows will hit this at runtime on production while errors will be silent at development time.

I'm ok with being careful (casing and relative paths) or to need an extra step of publish locally to test everything is working as expected. being said that, any tool/step that can improve the experience will be very appreciated.

*this = casing differences that result in precompiled lookups to fail.

@pranavkm
Copy link
Contributor Author

cc @Bartmax \ @DamianEdwards

@pranavkm
Copy link
Contributor Author

Presumably this is less likely to happen now that we've removed case sensitivity as part of addressing aspnet/MvcPrecompilation#37. We can re-open this if users discover other scenarios where this is problematic.

@Bartmax
Copy link

Bartmax commented Jun 12, 2017

agree, looks like the right direction! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants