PC Review


Reply
Thread Tools Rate Thread

debug deployment problem

 
 
Joe Audette
Guest
Posts: n/a
 
      5th Dec 2003
I'm having a weird problem deploying to either a device
or the emulator.
My solution has an exe project and several dll projects.
The exe has no dependencies for the dlls, but the dlls
are set to output to the same folder as the exe. There
are 3 dll projects reperesenting product content to be
consumed by the exe which is the product engine. All 3
dll projects are configured the same but when I click the
play button only 1 of the dlls gets deployed to the
device. The others build with no errors but don't get
copied to the device or emulator. The exe is the startup
project of the solution.

Any ideas?
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      5th Dec 2003
What is displayed in the Deploy log - see the "Output" window in Visual
Studio, select Debug from the drop down list.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"Joe Audette" <(E-Mail Removed)> wrote in message
news:dbe401c3bb53$11af80e0$(E-Mail Removed)...
> I'm having a weird problem deploying to either a device
> or the emulator.
> My solution has an exe project and several dll projects.
> The exe has no dependencies for the dlls, but the dlls
> are set to output to the same folder as the exe. There
> are 3 dll projects reperesenting product content to be
> consumed by the exe which is the product engine. All 3
> dll projects are configured the same but when I click the
> play button only 1 of the dlls gets deployed to the
> device. The others build with no errors but don't get
> copied to the device or emulator. The exe is the startup
> project of the solution.
>
> Any ideas?



 
Reply With Quote
 
Joe Audette
Guest
Posts: n/a
 
      5th Dec 2003
when I choosebuild from the dropdown in the output window:
(excerpt only)
------ Deploy started: Project: MFCXM0700, Configuration:
Debug Pocket PC ------




------ Deploy started: Project: MKCXM0700, Configuration:
Debug Pocket PC ------




------ Deploy started: Project: MKSPR0100, Configuration:
Debug Pocket PC ------




------ Deploy started: Project: MKSQD0800, Configuration:
Debug Pocket PC ------

Connected to Pocket PC Device (Pocket PC) running on ARM.
Copying files
from 'C:\_Projects\PocketTranscender\MKSQD0800\bin\Debug'
to '\Program Files\PocketTranscender'
Copying MKSQD0800.dll
Copying files
from 'C:\_Projects\PocketTranscender\TestEngine\obj\Debug\
' to '\Program Files\PocketTranscender'
Copying Transcender.TestEngine.dll
Copying content files to '\Program
Files\PocketTranscender'
Copying MKSQD0800.transcender

Note that the first 3 don't get copied, only the 4th,
MKSQD0800.ddl gets copied.

When I select debug from the dropdown in the output
window I get:
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\mscorlib.dll', No symbols loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\Transcender.PocketTranscender.exe', Symbols
loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\Microsoft.WindowsCE.Forms.dll', No symbols
loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\System.Xml.dll', No symbols loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\System.Data.dll', No symbols loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\System.Windows.Forms.DataGrid.dll', No symbols
loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\Transcender.TestEngine.dll', Symbols loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\System.Drawing.dll', No symbols loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\System.dll', No symbols loaded.
'Transcender.PocketTranscender.exe':
Loaded 'C:\_Projects\PocketTranscender\PocketTranscender\b
in\Debug\System.Windows.Forms.dll', No symbols loaded.


Any ideas?

Thanks,

Joe
>-----Original Message-----
>What is displayed in the Deploy log - see the "Output"

window in Visual
>Studio, select Debug from the drop down list.
>
>Peter
>
>--
>Peter Foot
>Windows Embedded MVP
>OpenNETCF.org Senior Advisor
>www.inthehand.com | www.opennetcf.org
>
>"Joe Audette" <(E-Mail Removed)> wrote in

message
>news:dbe401c3bb53$11af80e0$(E-Mail Removed)...
>> I'm having a weird problem deploying to either a device
>> or the emulator.
>> My solution has an exe project and several dll

projects.
>> The exe has no dependencies for the dlls, but the dlls
>> are set to output to the same folder as the exe. There
>> are 3 dll projects reperesenting product content to be
>> consumed by the exe which is the product engine. All 3
>> dll projects are configured the same but when I click

the
>> play button only 1 of the dlls gets deployed to the
>> device. The others build with no errors but don't get
>> copied to the device or emulator. The exe is the

startup
>> project of the solution.
>>
>> Any ideas?

>
>
>.
>

 
Reply With Quote
 
Andrew Jenner [MS]
Guest
Posts: n/a
 
      12th Dec 2003
Hi Joe,

"Joe Audette" <(E-Mail Removed)> wrote:
> I'm having a weird problem deploying to either a device
> or the emulator.
> My solution has an exe project and several dll projects.
> The exe has no dependencies for the dlls, but the dlls
> are set to output to the same folder as the exe. There
> are 3 dll projects reperesenting product content to be
> consumed by the exe which is the product engine. All 3
> dll projects are configured the same but when I click the
> play button only 1 of the dlls gets deployed to the
> device. The others build with no errors but don't get
> copied to the device or emulator. The exe is the startup
> project of the solution.
>
> Any ideas?


I suspect that the "Deployment Device" properties of your dll projects are
set to "Same as device of consuming project" (this is the default for class
library projects). Since there is no "consuming project", they won't get
deployed at all. (The request to deploy them is ignored, otherwise they
would be deployed twice). To fix this, just add them as references of the
startup project, or change "Deployment Device" to the same device that as
the deployment device of the startup project.

Andrew
--
This posting is provided "AS IS" with no warranties, and confers no rights.

 
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
Click-Once deployment problem (mshtml problem?) B. Chernick Microsoft Dot NET Framework Forms 1 3rd Jun 2008 03:50 PM
Enterprise Library deployment problem. Why needs to InstallUtil DLLs to the deployment server? If not, Registry Error whould shown. Benny Ng Microsoft ASP .NET 0 3rd Oct 2005 06:40 AM
Visual C++ Debug Library. Debug Error! Abnormal program termination John Microsoft Outlook Discussion 1 25th Sep 2004 09:00 PM
web service: deployment and debug question Larry Microsoft VC .NET 0 2nd May 2004 06:06 AM
Local (debug) Project and Remote (deployment) Project DKode Microsoft Dot NET 0 19th Apr 2004 02:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:39 PM.