Oct 13 2004

Pocket PC Emulator Issue in VS 2005 Beta (Refresh 1)

Category: .ms.futureAmit Bahree @ 3:34 am

I was recently playing with the new compact framework part of Visual Studio 2005 Beta 1 (which is released with the VSTS Edition) and am having a tough time getting to the emulator to wok when I try and debug the application. This is a simple hello world application and I tried using all of the following emulators with no luck:

  • Pocket PC 2003 SE Emulator
  • Pocket PC 2003 SE Emulator (Legacy)
  • Pocket PC 2003 SE VGA Emulator

Every time I try and “Deploy” to that the emulator comes up fine and I can connect to it, etc. but it cannot install the application for it and always get the Deploy error message (see the screen shots below). Also every time I try and “Power Off” the emulator, it comes right back up and does not really quit - it does not matter, if I save the state or do a soft or hard reset. All this time VS.NET is waiting for the emulator to exit. Ultimately I have to kill the process (DeviceEmulator.exe).

Image 1: The Emulator “Boots” Fine


Image 2: Other applications work fine


Image 3: I can also connect to the internet

Image 4: VS.NET is not Happy

I also get the following errors below, which are probably the crux of the issue.

No way to resolve conflict between “System.Xml, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” and “System.Xml, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac”. Choosing “System.Xml, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” arbitrarily.

No way to resolve conflict between “System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” and “System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac”. Choosing “System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” arbitrarily.

No way to resolve conflict between “System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” and “System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac”. Choosing “System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” arbitrarily.

No way to resolve conflict between “System.Drawing, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” and “System.Drawing, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac”. Choosing “System.Drawing, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes” arbitrarily.

ResGen.exe /useSourcePath /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\Microsoft.WindowsCE.Forms.dll” /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\mscorlib.dll” /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Data.dll” /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.dll” /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Drawing.dll” /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Windows.Forms.dll” /r:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Xml.dll” /compile Form1.resx,obj\Debug\PocketPCApplication1.Form1.resources

Csc.exe /noconfig /nostdlib+ /warn:4 /define:DEBUG;TRACE /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\Microsoft.WindowsCE.Forms.dll” /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\mscorlib.dll” /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Data.dll” /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.dll” /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Drawing.dll” /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Windows.Forms.dll” /reference:”..\..\..\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE\System.Xml.dll” /debug+ /optimize- /out:obj\Debug\PocketPCApplication1.exe /resource:obj\Debug\PocketPCApplication1.Form1.resources /resource:obj\Debug\PocketPCApplication1.Properties.Resources.resources /target:winexe Form1.cs Form1.Designer.cs Program.cs Properties\AssemblyInfo.cs

Does anyone have any idea on what is wrong or point me in the right direction?

Share
Similar posts to check out:
  • April 25, 2012 -- SkyDrive, Windows 8 and Domain Account (0)
    I am running Windows 8 on my primary work machine now, which is domain joined. When I try and use the SkyDrive metro app (which ships with Windows 8), it does not like that fact I am domain joined and wants me to switch accounts, which is something I don’t want to do. This of course works great for those who are not domain joined and essentially are personal machines. For many of us who will be using this on ‘work’ machines, this seems like we will be ignored. Of course I can install the deskt...
  • March 6, 2012 -- Enabling Win 8 Metro on a Netbook (0)
    When you install Win 8 on a Netbook the screen resolution would be too low for Metro apps to run which is a bummer. One way to get around this and “fix” this is to update the registry (and you thought that was so XP!) :). Run Regedit and search for “display1_downscalingsupported” (without quotes). Find all occurrences of this entry and change its value from 0 to 1. Reboot when finished and you should have more options on your Screen Resolution choosing which will allow you to run Metro. :) ...
  • January 10, 2012 -- 15 Year of Microsoft at CES (0)
    ...

Tags:

Leave a Reply

*

Get Adobe Flash player