PC Review


Reply
Thread Tools Rate Thread

Debugging design-time controls

 
 
csharprox
Guest
Posts: n/a
 
      10th Dec 2004
This fabulous article explains how to debug design-time controls in .NET :
http://msdn.microsoft.com/library/de...edebugging.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


 
Reply With Quote
 
 
 
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      11th Dec 2004
You need an exe which would use your dll. Please see this for details:

http://groups-beta.google.com/group/...8529826e2ba91b

Best regards,

Ilya

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

"csharprox" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This fabulous article explains how to debug design-time controls in .NET :
> http://msdn.microsoft.com/library/de...edebugging.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
>



 
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
Debugging design time behavior od user controls. Microsoft C# .NET 1 23rd Mar 2007 07:34 AM
Designer design time debugging VS2005 =?Utf-8?B?dGIyMDAw?= Microsoft Dot NET Compact Framework 2 13th Apr 2006 06:47 AM
Debugging .NET Framework and MS Visual Studio Managed Classes at Run time and Design time Yahoo Microsoft C# .NET 0 5th Aug 2005 02:00 AM
Debugging in Design time Chris Dunaway Microsoft Dot NET 1 29th Aug 2004 11:52 AM
debugging in design time fragget Microsoft C# .NET 2 8th Oct 2003 03:59 PM


Features
 

Advertising
 

Newsgroups
 


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