New Posts New Posts RSS Feed: Object mapping Tool not working when MicroFramework is installed in VS2005
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Object mapping Tool not working when MicroFramework is installed in VS2005

 Post Reply Post Reply
Author
gussabina View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Nov-2007
Location: United States
Posts: 22
Post Options Post Options   Quote gussabina Quote  Post ReplyReply Direct Link To This Post Topic: Object mapping Tool not working when MicroFramework is installed in VS2005
    Posted: 20-Nov-2007 at 4:47pm
Hi:
The Object Mapping Tool does not properly work when the MicroFramework is installed in Visual Studio.
The problem is that the AppHelper and Model projects get some errors when they are build. Some References from the MicroFramework are added (SPOT namespace), which make the code not work as it should. It is like the projects are made using the MicroFramework Template (or something like this)
Uninstalling the Microsoft MicroFramework, everything works fine. Any idea about how to fix this?
 
Thanks;
Gus
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 23-Nov-2007 at 7:54pm

We normally don't try to resolve these issues unless it can be shown that DevForce is at fault.  However, since the 3rd party vendor is Microsoft, I think I should try to give some explanation of what may be happening.

The Micro Framework appears to be another version of the Compact Fraamework.  The Compact Framework is a subset of the complete framework, and does not support many of the features that DevForce requires such is Remoting and Serialization.  Even if we could prevent the exceptions from being thrown, it would almost certainly be the case that you could not get DevForce to interoperate with the MicroFramework.
 
We may have a solution in mid 2008 that would support compact devices using VS2008 and WCF, but I can't commit to this at present.
 
 
Back to Top
gussabina View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Nov-2007
Location: United States
Posts: 22
Post Options Post Options   Quote gussabina Quote  Post ReplyReply Direct Link To This Post Posted: 26-Nov-2007 at 1:06pm
Hi David:
Yes, of course I 'm not trying to use IdeaBlade for a MicroFramework project...The problem is that when I try to create the Model project from the Omject Mapper, it gets wrong if the microFramework is installed (even when it is not used in this project...). If I uninstall the microframework, then everything works fine. The problem is that I need it for other types of projects.
 
 
Gus
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 28-Nov-2007 at 7:52am
Do you have a URL that I can use to download the MicroFramework product.  I'll try it myself.
Back to Top
gussabina View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Nov-2007
Location: United States
Posts: 22
Post Options Post Options   Quote gussabina Quote  Post ReplyReply Direct Link To This Post Posted: 02-Dec-2007 at 9:01pm
Hi David:
 
You can download it from:
 
After install it, try to create a new Cabana App with the Wizard.
 
Regards;
Gus
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 03-Dec-2007 at 9:40am
Is this problem unique to Cabana?
Back to Top
gussabina View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Nov-2007
Location: United States
Posts: 22
Post Options Post Options   Quote gussabina Quote  Post ReplyReply Direct Link To This Post Posted: 03-Dec-2007 at 1:41pm
Hi David:
No. In fact, it seems that the problem is related with the Object Mapper tool. That is, when it creates the Model project, it adds some MicroFramework related assemblies  (like mscorlib and SPOT) to the References.
 
Regards;
Gus
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 03-Dec-2007 at 1:58pm
I'll try to reproduce the problem with a DevForce tutorial.
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 03-Dec-2007 at 11:33pm
I could not reproduce your problem building a brand new DevForce application.  Perhaps, it is Cabana related.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down