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