Razor layout reference incorrectly flagged as missing
In ASP.NET 5, MVC6, beta 7, VS2015, ReSharper is reporting an invalid reference to a layout within an area, when in fact it is working and referenced correctly. See the image below:
Please sign in to leave a comment.
Nathan, how does it work? Layout pages are looking for in shared folder, don't they?
Can point me, please, where are described that layouts are looking in current folder too?
Thanks!
Easy enough - just make the reference deliberately invalid and it'll throw an exception and tell you all the places it looked.