PC Review


Reply
Thread Tools Rate Thread

compile and debug a single .cs in IDE?

 
 
Afshar
Guest
Posts: n/a
 
      21st Jun 2006
Hi Group,
Can I compile and debug a single .cs in IDE?
I want to set a breakpoint on my single .cs (in IDE) and call its
method from other projects. This .cs is compiled to a dll every time
and added to other projects. And compile it directy, NOT by csc.exe.

Regards,
Afshar

 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      21st Jun 2006
Afshar,

No, you can not do that, you have to load the project that the CS file
is included in and then run the executable which makes reference to the
assembly.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"Afshar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Group,
> Can I compile and debug a single .cs in IDE?
> I want to set a breakpoint on my single .cs (in IDE) and call its
> method from other projects. This .cs is compiled to a dll every time
> and added to other projects. And compile it directy, NOT by csc.exe.
>
> Regards,
> Afshar
>



 
Reply With Quote
 
Afshar
Guest
Posts: n/a
 
      22nd Jun 2006
Hi Nicholas,

I'm not the using the .cs directly, however I compiled it with csc.exe
to a library (a dll) and refrenced this dll from other projects. So
still can't set a breakpoint on the single .cs even I've loaded it in
IDE with consumer project.

Regards,
Afshar


Nicholas Paldino [.NET/C# MVP] wrote:
> Afshar,
>
> No, you can not do that, you have to load the project that the CS file
> is included in and then run the executable which makes reference to the
> assembly.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - (E-Mail Removed)
>
> "Afshar" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Group,
> > Can I compile and debug a single .cs in IDE?
> > I want to set a breakpoint on my single .cs (in IDE) and call its
> > method from other projects. This .cs is compiled to a dll every time
> > and added to other projects. And compile it directy, NOT by csc.exe.
> >
> > Regards,
> > Afshar
> >


 
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
Compile only for debug? Bob Altman Microsoft VC .NET 6 25th Feb 2008 03:58 PM
What does the compile debug option do? DG Microsoft Excel Programming 2 6th Nov 2007 09:22 PM
Debug/Compile VBAProject not available =?Utf-8?B?bWlsbHk=?= Microsoft Excel Programming 3 21st Jul 2005 08:58 AM
Debug/Compile Error =?Utf-8?B?ZmF4eWxhZHk=?= Microsoft Access Forms 1 5th Jun 2005 09:57 PM
how to compile/debug from within VS Robert Blackwell Microsoft C# .NET 1 16th Sep 2003 06:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:08 PM.