Groups | Blog | Home
all groups > dotnet compact framework > november 2005 >

dotnet compact framework : Unable to create Device Application, Studio Beta 2


Steve Howard
11/10/2005 6:39:23 PM
Warning 2 The "GetDeviceFrameworkPath" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an
object.
at
Microsoft.CompactFramework.Build.Tasks.GetDeviceFrameworkPath.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask)
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.CompactFramework.Common.targets
11 9


----------

I get this every time I try to create a Smart Device > Device Application
:-(

I also get the same for Smart Device > Pocket PC 2003 > Device Application

And for Smart Device > Windows CE 5.0 > Device Application



Presumably I get it for other mobile projects too. I can create .Net 2.0
applications for PC, but as soon as I try to do anything for PocketPC I get
the errors above. Any clues or suggestions gratefully recieved.


Steve

ctacke/
11/10/2005 10:38:07 PM
Reinstall? Upgrade to the RTM?

-Chris

[quoted text, click to view]

Steve Howard
11/10/2005 10:42:44 PM
[quoted text, click to view]

Tried - more than once - to reinstall. I don't subscribe to MSDN so I bought
the CD so upgrading to RTM not an option :-(

Next step is a reformat of HDD unless someone can shed some light here. I
have found references to about 3 other people with similar problems but no
resolution posted anywhere ...


Steve
Steve Howard
11/10/2005 10:59:52 PM
I should add that I also get the following errors in the main design =
window :-


-----

One or more errors encountered while loading the designer. The =
errors are listed below. Some errors can be fixed by rebuilding your =
project, while others may require code changes. Clicking on each error =
will take you to the line of code that caused it.=20

The designer could not be shown for this file because none of the =
classes within it can be designed. =20

at =
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDo=
cument(IDesignerSerializationManager manager)
at =
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformL=
oad(IDesignerSerializationManager manager)
at =
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoad=
er.PerformLoad(IDesignerSerializationManager serializationManager)
at =
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoad=
er.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsText=
Steve Howard
11/11/2005 9:07:08 PM
Oh well - the good news is I got it to work.


The bad news is I had to reinstall Windows to make it work :-( Now I have at
least 24 hours of reinstallation and reconfiguration ahead of me <sigh>.


Steve
Steve Howard
11/12/2005 7:48:05 PM

[quoted text, click to view]


When I reinstall the new, no-longer Beta version of Compact Framework 2.0, I
get the same errors as before and can no longer create new device
applications.


So this means I am forced to buy Studio Standard if I want to proceed ...
OK I know Microsoft has a business to run, so I am not complaining. But I
need to complete a student project for my Masters degree. If there is a
student license available for Studio 5 I have not found it yet.


Steve

Steve Howard
11/12/2005 7:57:25 PM

[quoted text, click to view]


Fortunately for my sanity, System Restore fixed the problem...


Steve
AddThis Social Bookmark Button