Print Page | Close Window

Object mapping Tool not working when MicroFramework is installed in VS2005

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=559
Printed Date: 11-Jun-2026 at 12:27pm


Topic: Object mapping Tool not working when MicroFramework is installed in VS2005
Posted By: gussabina
Subject: Object mapping Tool not working when MicroFramework is installed in VS2005
Date 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



Replies:
Posted By: davidklitzke
Date 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.
 
 


Posted By: gussabina
Date 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


Posted By: davidklitzke
Date 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.


Posted By: gussabina
Date Posted: 02-Dec-2007 at 9:01pm
Hi David:
 
You can download it from:
http://www.microsoft.com/downloads/details.aspx?FamilyId=32F5DF20-6C95-4FE8-A76C-0ED56A839AD2&displaylang=en - http://www.microsoft.com/downloads/details.aspx?FamilyId=32F5DF20-6C95-4FE8-A76C-0ED56A839AD2&displaylang=en
 
After install it, try to create a new Cabana App with the Wizard.
 
Regards;
Gus
 


Posted By: davidklitzke
Date Posted: 03-Dec-2007 at 9:40am
Is this problem unique to Cabana?


Posted By: gussabina
Date 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


Posted By: davidklitzke
Date Posted: 03-Dec-2007 at 1:58pm
I'll try to reproduce the problem with a DevForce tutorial.


Posted By: davidklitzke
Date Posted: 03-Dec-2007 at 11:33pm
I could not reproduce your problem building a brand new DevForce application.  Perhaps, it is Cabana related.



Print Page | Close Window