473,398 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

compile and debug a single .cs in IDE?

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

Jun 21 '06 #1
2 1583
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]
- mv*@spam.guard.caspershouse.com

"Afshar" <af************@gmail.com> wrote in message
news:11**********************@c74g2000cwc.googlegr oups.com...
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

Jun 21 '06 #2
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]
- mv*@spam.guard.caspershouse.com

"Afshar" <af************@gmail.com> wrote in message
news:11**********************@c74g2000cwc.googlegr oups.com...
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


Jun 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mario T. Lanza | last post by:
I am working with Visual Studio. The solution I am developing is composed of about 8 separate projects. Some of these projects represent different tiers in the N-tiered architecture (data,...
8
by: Davy | last post by:
Hi all, I use VC and gcc/gdb to compile and debug C/C++ files. But I found some of the debug version of the compiled files are too large to be run in a small RAM. Can I compile C/C++ Debug...
5
by: Brice Prunier | last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...) The context is the following : Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema: no TargetNamespace )...
1
by: Robert Blackwell | last post by:
I want to be able to compile/debug from within VS. Currently, I'm just making a bunch of little console apps from book examples and so I've been typing them out, and compiling/running from the cmd...
7
by: John Dolinka | last post by:
I have a project of several files with #defines to setup a conditional compile. I would like to put these #defines in a single file and change the conditional compile from this one file with the...
2
by: Vipul Pathak | last post by:
Hi everyone, I have a .NET 1.1 application ready to be ported on .NET 2.0. With some of the features made obsolete in 2.0 and the new recomended methods are not available in .NET 1.1, It...
5
by: TreatmentPlant | last post by:
Very late last night I was working on a project. When I left it - it worked and all was sweet! After a nap I came back to it this morning to find that the project will not compile and I keep...
1
by: 张沈鹏 | last post by:
How to compile the HelloWorld of boost.asio? Maybe this is a stupid problem , but I really don't konw how to find the right way. My compile environment is WinXP, Msys , MinGw , G++ 3.4.2,...
7
by: news.microsoft.com | last post by:
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error: Command line error BC2014: the value 'None' is invalid for option 'debug'. If I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.