visual studio - Asp.net mvc IntelliSense in Controller for Views in alternate location -
i've asp.net mvc 4 site in vs 2015 , i've created alternate folder addional web.config, can find views addional default view folder.
- app
- views
- logviewer logmonitor.component.cshtml web.config
- views
- views (original views folder)
- shared
- home web.config
but when want access new views in controller intellisense nothing , when write right path in return view("path") red , no sign vs tells me path exists.
public actionresult logmonitorcomponent() { return view("views/logviewer/logmonitor.component"); }
when access default views intellisense , vs tells me files can access. knows whati need working. know should work, because i've seen allready somewhere.
thats not working example @ moment, not underlined , totaly red, works view found, vs don't gives me intellisense
the default view here fine underlined , "normal red".
its visual studio problem, when start project working fine.
Comments
Post a Comment