Debugging design-time controls

C

csharprox

This fabulous article explains how to debug design-time controls in .NET :
http://msdn.microsoft.com/library/d...en-us/dnwinforms/html/designtimedebugging.asp

I was really excited when I saw ".NET Compact Framework" listed in the
"Applies to" section.

I'm having trouble getting this to work though -- I'm getting "a project
with an Output Type of Class Library cannot be started directly". Is it
because my project is listed as a class library? I tried manually changing
it to a Windows application (compact framework) but it didn't give me the
option to choose a start object.

I'm wondering if there is a problem with my design-time stuff being a
separate dll than my device dll. I build the design-time dll with a C++
makefile that is a separate project in my solution.

Any suggestions would be greatly appreciated. It's kind of a pain to debug
these controls because my test form is referencing the design-time version
of the dll and I have to remove it from my project, exit, build in release
mode, change back to debug mode, re-add the test form project and then test
the design-time part of the control. The emulator is almost faster than
this process...

Thanks,

CSharpRox
 

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