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:

http://content.screencast.com/users/NathanRidley/folders/Jing/media/7b86f93d-099b-42f6-816e-b21b804efbf2/2015-09-08_1115.png

2 comments
Comment actions Permalink

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!

0
Comment actions Permalink

Easy enough - just make the reference deliberately invalid and it'll throw an exception and tell you all the places it looked.

0

Please sign in to leave a comment.