Using Razor with Durandal gives 404 <p>i am trying to use cshtml with Durandal</p> <p>i followed instructions on <a href="http://bartwullems.blogspot.com/2014/03/durandaljs-enable-razor-views.html" rel="nofollow">http://bartwullems.blogspot.com/2014/03/durandaljs-enable-razor-views.html</a></p> <p>main.js is called properly but when it goes looking for the view i get the error. </p> <p><strong>View Not Found. Searched for "views/shell" via path "text!views/shell.cshtml".</strong></p> <p>and in the console window i can see a 404 error</p> <p><strong>http:// local /App/views/shell.cshtml 404 (Not Found)</strong> </p> <p>route is configured and i copied the web.config from View to App/views and the DurandalViewController is also in place. my main.js looks like one in the example just the last line is</p> <pre><code> app.setRoot('viewmodels/shell'); </code></pre> <p><strong>__________________________________</strong></p> <p>Structure has</p> <ul> <li>App/viewmodels/shell.js </li> <li>App/views/shell.cshtml </li> <li>App/views/web.config</li> </ul>