Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 10, 2012 01:07 AM by cbae
Apr 15, 2012 12:15 PM|LINK
I haven't mentioned it in the steps above, but even after creating new classes in the domain, I get the same problem.
I also think that it shouldn't care to create another controller for the same class, so running out of classes to create controllers on shouldn't be a problem. But I'm not sure and either way, it happens when I have many other classes in the model too.
Apr 15, 2012 12:21 PM|LINK
I understand.....in this case....it is a TRUE bug..., a kind of incompatibility with the new version of EF.
Apr 15, 2012 12:46 PM|LINK
Try on point 4, add "Install-Package SinglePageApplication.CSharp", and you get message:
Error 1 Compiling transformation: The type or namespace name 'MvcTextTemplateHost' could not be found (are you missing a using directive or an assembly reference?) c:\Temp\MvcApplication3\MvcApplication3\CodeTemplates\AddController\SpaController.tt 3 1
Forget this message, just continue, your procedure become like these:
Hoe this can help
Apr 15, 2012 01:11 PM|LINK
In the real project, I am updating the SinglePageApplication.CSharp through NuGet but I'm doing it after updating th EF. So for a second there I thought the problem was the order in which I perform the updates.
I tried it again according to your suggestions - updating SPA first - still the same problem.
Apr 15, 2012 01:51 PM|LINK
I have tried the modified procedure on my prevoius reply, on VS 2010, on Win Server 2008R2, and VS 11 on Win 8 Consumer preview, both are fine. The one who help me at the beginning of SPA is KDegrave, you may look at him at http://www.kristofdegrave.be/2012/04/upshotjs-knockoutjs-html5-client-for.html,
this address was from him when he replied my question on my thread http://forums.asp.net/t/1788069.aspx/1?Single+Page+Application+Prerequirement
Apr 15, 2012 01:59 PM|LINK
Can you post your new model class, I need to produce your case.
When I did in VS 11, I did not do "Install-Package EntityFramework"
Apr 15, 2012 08:56 PM|LINK
It not happen when you don't version up to EF 4.3.1 or EF 5 bate.
If you don't need new EF version you can still use EF 4.1.
May be It is a way for continue with new EF version.
First need delete all created controls, than you can create a new control.
When all finished you can backup all deleted controls to it.
Apr 16, 2012 03:12 AM|LINK
So u've reported a bug and Maybe it's so……Hope MS kind men will reply to you sooooooooooon……
Apr 16, 2012 04:39 AM|LINK
^^. I hope so, we haven't time to stop jub for wait new.
Apr 17, 2012 02:09 AM|LINK
Can you BUILD or REBUILD the project without any error? The message "No model classes are available" also happend when there is a syntax error on a project.
If still happend, is it posible to put your project on skydrive or other public folder?