Build error. Can't connect to device (emulator).

M

Manu

Hi guys,

I wrote a simple hello world application for Windows Mobile 5.0 Smartphone.
When I try to run the application in debug mode, I get the following error.

------ Build started: Project: myTest, Configuration: Debug Any CPU ------
Csc.exe /noconfig /nowarn:"1701;1702" /nostdlib+ /errorreport:prompt /warn:4
/define:DEBUG;TRACE;Smartphone /reference:"C:\Program Files\Microsoft Visual
Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\mscorlib.dll"
/reference:"C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Data.dll"
/reference:"C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.dll"
/reference:"C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Drawing.dll"
/reference:"C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Windows.Forms.dll"
/reference:"C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Xml.dll" /debug+
/debug:full /filealign:512 /optimize- /out:blush:bj\Debug\myTest.exe
/resource:blush:bj\Debug\myTest.Form1.resources
/resource:blush:bj\Debug\myTest.Properties.Resources.resources /target:winexe
Form1.cs Form1.Designer.cs Program.cs Properties\AssemblyInfo.cs
Properties\Resources.Designer.cs

Compile complete -- 0 errors, 0 warnings
myTest -> D:\Documents and Settings\Manu\my documents\visual studio
2005\Projects\myTest\myTest\bin\Debug\myTest.exe
------ Deploy started: Project: myTest, Configuration: Debug Any CPU ------
All attempts to connect to the deployment target at port 5654 have failed.
Addresses attempted:
169.254.165.6;fe80::203:ffff:feca:3c76%5;fe80::5efe:169.254.165.6%2;::1;fe80::1%1.If target is an emulator, connection failed because no virtual switch driveris detected. Reinstall Device Emulator package. For more information, seeTroubleshooting topics in Visual Studio Help.Connect to device failed.========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==================== Deploy: 0 succeeded, 1 failed, 0 skipped ==========My setup is WinXP SP2, VS 2005 Beta 2, Active Sync 3.7, Windows Mobile 5.0SDK for Smartphone.I'm sure that there is no compile error. I'm not sure if I'm missing somedependency software or configuration or hardware. Any help would be greatlyappriciated.TIA,Manu.
 
M

Manu

I removed ActiveSync 3.7 and installed ActiveSync 4.0. But no use. I get the
same deployment error. Help me please!

Regards,

Manu.
 

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