Unable to create Device Application, Studio Beta 2

S

Steve Howard

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
 
S

Steve Howard

Reinstall? Upgrade to the RTM?

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
 
S

Steve Howard

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.

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

at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
 
S

Steve Howard

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
 
S

Steve Howard

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>.


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
 
S

Steve Howard

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.


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


Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top