debug deployment problem


J

Joe Audette

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?
 
Ad

Advertisements

P

Peter Foot [MVP]

What is displayed in the Deploy log - see the "Output" window in Visual
Studio, select Debug from the drop down list.

Peter
 
J

Joe Audette

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
 
Ad

Advertisements

A

Andrew Jenner [MS]

Hi Joe,

Joe Audette said:
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
 

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