VS 11 and Walkthroughhttp://forums.asp.net/t/1785974.aspx/1?VS+11+and+WalkthroughFri, 27 Apr 2012 09:30:45 -040017859744902552http://forums.asp.net/p/1785974/4902552.aspx/1?VS+11+and+WalkthroughVS 11 and Walkthrough <p>I have VS 11 Beta installed on Windows 7 and fire up VS 11, select Single Page Application, run Install-Package SinglePageApplication to get the latest and greatest, follow the instructions here: <a href="http://www.asp.net/single-page-application/getting-started-with-spa/spa-walkthroughs/walkthrough-getting-started-with-spa"> http://www.asp.net/single-page-application/getting-started-with-spa/spa-walkthroughs/walkthrough-getting-started-with-spa</a>&nbsp;to add the Tasks controller, hit run and get the following: Failed to get the MetadataWorkspace for the DbContext. So I edit the global.asax to comment out the Database.DefaultConnectionFactory line and update to EF 4.3.1 using Install-Package EntityFramework. Now when I run again I am greeted with: Microsoft JScript runtime error: 'ko' is undefined, this is due to an incorrect reference in the _SpaLayout.cshtml which is referencing knockout-2.0.0.js. I edit it to be just knockout.js and run it again when I am greeted by: self.editingTodoItem = editorDataSource.getFirstEntity(); and so I do a search for the getFirstEntity and cannot find it.</p> <p>Is it possible the default project is missing a reference or has an incorrect file in the default setup for a SPA application in VS 11 with the latest NuGet packaged installed (was updated yesterday it says)?</p> <p>Thank you advance for any input.</p> <p><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"></span></span></p> <p><span face="Consolas" color="#008000" size="2" style="color:#008000; font-family:Consolas; font-size:small"><span face="Consolas" color="#008000" size="2" style="color:#008000; font-family:Consolas; font-size:small"><span face="Consolas" color="#008000" size="2" style="color:#008000; font-family:Consolas; font-size:small"></span></span></span></p> 2012-03-27T20:43:40-04:004908714http://forums.asp.net/p/1785974/4908714.aspx/1?Re+VS+11+and+WalkthroughRe: VS 11 and Walkthrough I also have this same issue. Is it possible that the latest SPA templates are broken due to updates in upshot.js. 2012-03-30T16:48:19-04:004909018http://forums.asp.net/p/1785974/4909018.aspx/1?Re+VS+11+and+WalkthroughRe: VS 11 and Walkthrough <p>Follow these instructions to the letter.</p> <p><a href="http://blog.stevensanderson.com/2012/03/06/single-page-application-packages-and-samples/">http://blog.stevensanderson.com/2012/03/06/single-page-application-packages-and-samples/</a></p> <p>That'll sort it out.&nbsp;<img src="http://forums.asp.net/scripts/tiny_mce/plugins/emotions/img/smiley-cool.gif" alt="Cool" title="Cool" border="0"></p> 2012-03-31T00:34:54-04:004918346http://forums.asp.net/p/1785974/4918346.aspx/1?Re+VS+11+and+WalkthroughRe: VS 11 and Walkthrough <p>That seems to only sort it out if you are starting with a mvc 4 project.&nbsp; How do I sort it out if I have upgraded a mvc 3 project to mvc 4?</p> 2012-04-05T15:17:34-04:004954541http://forums.asp.net/p/1785974/4954541.aspx/1?Re+VS+11+and+WalkthroughRe: VS 11 and Walkthrough <p>Anybody? Anybody? Bueller?</p> <p>Both recent updates to Upshot and Knockout were very minor 0.0.0.1 revisions too. I can't believe such a huge breaking change was made without any information about it anywhere. Does Upshot have a project repository anywhere that's accessible to the public?</p> 2012-04-27T09:30:45-04:00