Rob
unread,Apr 5, 2013, 3:39:01 AM4/5/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knocko...@googlegroups.com
Hi there,
today I wanted to ake a closer look at knockoutmvc in Visual Studio Professional 2012. When trying to install the kMVC package with
Install-Package kMVC
the installation completes and the NuGet log tells me that "kMVC 0.5.4" was succesfully installed and added to my project. But right after that, a dialog pops up with the message "methods is null". After clicking ok the NuGet log shows some red errors as seen below (some messages appear in German as that is my local language):
Sie können keine Methode für einen Ausdruck mit dem Wert NULL aufrufen.
Bei C:\Projekte\PAMVCTEST\packages\kMVC.0.5.4\tools\install.ps1:13 Zeichen:43
+ $edit = $method.StartPoint.CreateEditPoint <<<< ();
+ CategoryInfo : InvalidOperation: (CreateEditPoint:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Sie können keine Methode für einen Ausdruck mit dem Wert NULL aufrufen.
Bei C:\Projekte\PAMVCTEST\packages\kMVC.0.5.4\tools\install.ps1:14 Zeichen:15
+ $edit.LineDown <<<< ()
+ CategoryInfo : InvalidOperation: (LineDown:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Sie können keine Methode für einen Ausdruck mit dem Wert NULL aufrufen.
Bei C:\Projekte\PAMVCTEST\packages\kMVC.0.5.4\tools\install.ps1:15 Zeichen:16
+ $edit.CharRight <<<< (1)
+ CategoryInfo : InvalidOperation: (CharRight:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Sie können keine Methode für einen Ausdruck mit dem Wert NULL aufrufen.
Bei C:\Projekte\PAMVCTEST\packages\kMVC.0.5.4\tools\install.ps1:16 Zeichen:13
+ $edit.Insert <<<< ([Environment]::NewLine)
+ CategoryInfo : InvalidOperation: (Insert:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Sie können keine Methode für einen Ausdruck mit dem Wert NULL aufrufen.
Bei C:\Projekte\PAMVCTEST\packages\kMVC.0.5.4\tools\install.ps1:17 Zeichen:13
+ $edit.Insert <<<< (" ModelBinders.Binders.DefaultBinder = new PerpetuumSoft.Knockout.KnockoutModelBinder();")
+ CategoryInfo : InvalidOperation: (Insert:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
When I ignore the errors and try to run my project, it basically works just as before, except for the test page where I included the scripts and use the knockoutcontroller etc. (as described in the Quickstart)... nothing happens, no error message, the browser tries to load the page and keeps loading. When I manually switch to another (non-knockout) page it works. Restarting, rebooting, re-installing kMVC didn't help.
Is there something I can do about it? I'd love to use kMVC as it perfectly fits my needs for his very project. Thanks in advance for your help!
Regards,
Rob