PC Review


Reply
Thread Tools Rate Thread

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

 
 
Manu
Guest
Posts: n/a
 
      6th Jun 2005
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+ /errorreportrompt /warn:4
/defineEBUG;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- /outbj\Debug\myTest.exe
/resourcebj\Debug\myTest.Form1.resources
/resourcebj\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.

 
Reply With Quote
 
 
 
 
Andy
Guest
Posts: n/a
 
      6th Jun 2005
Get Active Sync 4

Andy.

"Manu" <(E-Mail Removed)> wrote:

>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+ /errorreportrompt /warn:4
>/defineEBUG;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- /outbj\Debug\myTest.exe
>/resourcebj\Debug\myTest.Form1.resources
>/resourcebj\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.


 
Reply With Quote
 
Manu
Guest
Posts: n/a
 
      6th Jun 2005
Thanks Andy!

Cheers,

Manu.

"Andy" <(E-Mail Removed)> wrote in message
news:1118045200.366581e9ae0f9affdb50abee7d4db010@teranews...
> Get Active Sync 4
>
> Andy.
>
> "Manu" <(E-Mail Removed)> wrote:
>
>>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+ /errorreportrompt
>>/warn:4
>>/defineEBUG;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- /outbj\Debug\myTest.exe
>>/resourcebj\Debug\myTest.Form1.resources
>>/resourcebj\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.

>



 
Reply With Quote
 
Manu
Guest
Posts: n/a
 
      7th Jun 2005
I removed ActiveSync 3.7 and installed ActiveSync 4.0. But no use. I get the
same deployment error. Help me please!

Regards,

Manu.

"Andy" <(E-Mail Removed)> wrote in message
news:1118045200.366581e9ae0f9affdb50abee7d4db010@teranews...
> Get Active Sync 4
>
> Andy.
>
> "Manu" <(E-Mail Removed)> wrote:
>
>>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+ /errorreportrompt
>>/warn:4
>>/defineEBUG;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- /outbj\Debug\myTest.exe
>>/resourcebj\Debug\myTest.Form1.resources
>>/resourcebj\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.

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
run RDA app in emulator report error, but in Device is OK, Why? Risen Microsoft Dot NET Compact Framework 0 28th Jul 2006 06:04 AM
Registering a new emulator skin in Device Emulator Manager & VS 2005 AP Microsoft Dot NET Compact Framework 1 12th Jun 2006 01:12 PM
Device Emulator Error Marc Lefebvre Microsoft Dot NET Compact Framework 0 21st Apr 2005 04:39 PM
Trouble with smart device proj. and Win CE emulator making connect =?Utf-8?B?U3RldmVJbkJlbG9pdA==?= Microsoft Dot NET Compact Framework 0 1st Apr 2005 12:17 AM
[error] connect to emulator with activesync Johnny Hu Microsoft Dot NET Compact Framework 1 13th Jan 2004 12:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:23 PM.