{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/7372","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/7372/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/7372/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/7372/events","html_url":"https://github.com/aspnet/Mvc/issues/7372","id":297222550,"number":7372,"title":"Razor page from class library not found if another cshtml(not razorpage) exists at the same path in the referencing app","user":{"login":"ajaybhargavb","id":1579269,"avatar_url":"https://avatars0.githubusercontent.com/u/1579269?v=4","gravatar_id":"","url":"https://api.github.com/users/ajaybhargavb","html_url":"https://github.com/ajaybhargavb","followers_url":"https://api.github.com/users/ajaybhargavb/followers","following_url":"https://api.github.com/users/ajaybhargavb/following{/other_user}","gists_url":"https://api.github.com/users/ajaybhargavb/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaybhargavb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaybhargavb/subscriptions","organizations_url":"https://api.github.com/users/ajaybhargavb/orgs","repos_url":"https://api.github.com/users/ajaybhargavb/repos","events_url":"https://api.github.com/users/ajaybhargavb/events{/privacy}","received_events_url":"https://api.github.com/users/ajaybhargavb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T19:48:10Z","updated_at":"2018-04-05T20:28:53Z","closed_at":"2018-04-05T20:28:53Z","author_association":"MEMBER","body":"Repro:\r\n- Create a page Foo.cshtml in the class library (With precompilation enabled) which contains `@page \"/foo\"` at the top of the file\r\n- Create an app referencing the class library and create a regular razor file (not page) Foo.cshtml in the same relative location\r\n- Run the app and go to localhost:5001/foo\r\n\r\nExpected:\r\nFinds the page from the class library\r\n\r\nActual:\r\n404\r\n\r\nNote: This is not a very common scenario. Just filed this issue for awareness."}}
{"actor":{"display_login":"mkArtakMSFT"}}