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

Give accurate location of syntax error in _GlobalImport.cshtml #2321

Closed
ChengTian opened this issue Apr 2, 2015 · 0 comments
Closed

Give accurate location of syntax error in _GlobalImport.cshtml #2321

ChengTian opened this issue Apr 2, 2015 · 0 comments
Assignees
Milestone

Comments

@ChengTian
Copy link
Contributor

Repro steps:
(1) Create a Starter Web App
(2) Turn off precompilation by deleting Compiler folder
(3) Create syntax error in Views/_GlobalImport.cshtml by @using a wrong namespace
(4) F5

The error message shows the error is in Index.cshtml, instead of _GlobalImport.cshtml:
capture

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

No branches or pull requests

3 participants