How do I debug a Smart Device Class Library using an existing executable (no source) to launch?

N

news.microsoft.com

I have a Smart Device Class Library project that I'd like to debug, but I
don't want to create a separate executable to launch it. Rather, I'd like
to specify an existing executable (no source code to include in the
solution) to run on a WM 2003 device that would load and use the class
library. It is my understanding that the "Debug Mode = Program" setting
under "Project Properties -> Debugging" should allow me to select an
executable and debug in just such a manner, but whenever I try to debug I
receive the error "A project with an Output Type of Class Library cannot be
started directly..." followed with information to set the debug mode to
Program. :-/

Has anyone had any success in using Debug Mode = Program for Smart Client
Class Libraries? Any guidance would be appreciated.

Randy
 
A

Alex Feinman [MVP]

This currently does not work. To debug a class library project you need a
test project with library referenced via a project reference
 

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