You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
To reproduce this issue, take the following steps:
Ensure all the files listed above are in your MVC 2.0.0-preview2 project.
Launch the web project from VS. I was debugging the app while doing the following steps, but I don't think debugging is necessary to repro the issue.
Verify that the initial response for http://example/ is TestNamespace.Views.Home.Index_View and the initial output for http://example/TestPage is TestNamespace.Pages.TestPage_Page.
Without stopping the app, edit the namespace to /_ViewImports.cshtml to something other than TestNamespace like NewNamespace.
Verify that the initial response for http://example/ has now changed to NewNamespace.Views.Home.Index_View as expected.
Note that the response for http://example/TestPage has not changed to NewNamespace.Pages.TestPage_Page. Instead it's still TestNamespace.Pages.TestPage_Page
If you restart the app or modify TestPage.cshtml, the namespace changes will be picked up.
The text was updated successfully, but these errors were encountered:
/_ViewImports.cshtml
/Pages/TestPage.cshtml
/Views/Home/Index.html
To reproduce this issue, take the following steps:
http://example/
isTestNamespace.Views.Home.Index_View
and the initial output forhttp://example/TestPage
isTestNamespace.Pages.TestPage_Page
./_ViewImports.cshtml
to something other thanTestNamespace
likeNewNamespace
.http://example/
has now changed toNewNamespace.Views.Home.Index_View
as expected.http://example/TestPage
has not changed toNewNamespace.Pages.TestPage_Page
. Instead it's stillTestNamespace.Pages.TestPage_Page
If you restart the app or modify TestPage.cshtml, the namespace changes will be picked up.
The text was updated successfully, but these errors were encountered: