473,398 Members | 2,212 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.

how can i get 3 execution in a single build action?

dd
I have a project containing 3 class have main method
How can i get three exe file after build??
Nov 16 '05 #1
5 1073
You have to make 3 projects and put them in one workspace. In my knowledge,
one project can have only one assembly.

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
"dd" <dd@dd.com> schrieb im Newsbeitrag
news:OV*************@TK2MSFTNGP11.phx.gbl...
I have a project containing 3 class have main method
How can i get three exe file after build??

Nov 16 '05 #2
dd
I have done the project at the way u said before, but i found it many of the
classes in these three project are resuable (the same content), I don't want
to waste my time.
"cody" <pl*************************@gmx.de> ¦b¶l¥ó
news:eA**************@TK2MSFTNGP14.phx.gbl ¤¤¼¶¼g...
You have to make 3 projects and put them in one workspace. In my knowledge, one project can have only one assembly.

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
"dd" <dd@dd.com> schrieb im Newsbeitrag
news:OV*************@TK2MSFTNGP11.phx.gbl...
I have a project containing 3 class have main method
How can i get three exe file after build??


Nov 16 '05 #3
dd <dd@dd.com> wrote:
I have done the project at the way u said before, but i found it many of the
classes in these three project are resuable (the same content), I don't want
to waste my time.


So have another project which is a class library with all the common
code in, and make each of the executable projects refer to it.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #4
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in
news:MP************************@msnews.microsoft.c om...
dd <dd@dd.com> wrote:
I have done the project at the way u said before, but i found it many of
the
classes in these three project are resuable (the same content), I don't
want
to waste my time.


So have another project which is a class library with all the common
code in, and make each of the executable projects refer to it.


Another way would be to use conditional compilation, and a separate
configuration (or two for debug&release) for each executale.

Niki
Nov 16 '05 #5
dd
thx...............are there a way have a building script or something to do
at a very extreme case?
"Niki Estner" <ni*********@cube.net> ¦b¶l¥ó
news:e7*************@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g...
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in
news:MP************************@msnews.microsoft.c om...
dd <dd@dd.com> wrote:
I have done the project at the way u said before, but i found it many of the
classes in these three project are resuable (the same content), I don't
want
to waste my time.


So have another project which is a class library with all the common
code in, and make each of the executable projects refer to it.


Another way would be to use conditional compilation, and a separate
configuration (or two for debug&release) for each executale.

Niki

Nov 16 '05 #6

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

Similar topics

2
by: laurenq uantrell | last post by:
I have been using the following function to test the speed of various functions, however, quite often the return value is zero. I'm hoping someone can help improve on this. Function TimeIt() As...
23
by: roman | last post by:
Hi, I would like to have two actions for one event. But I want the second action to trigger when the first one action completes. Is it possible to do this in javascript? I'm using the onclick...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
2
by: kevintan | last post by:
Hi all, Not sure whether you guys can help. Looking at both forms in javascript below: <html> <head> <script language="Javascript">
7
by: Schmidty | last post by:
Okay...I have another 'newbie' question; I have a function that loads a page and the action is $_SERVER; In the form that is in a function(method?) within a class a variable is passed back to...
18
by: Tom Cole | last post by:
I'm working on a small Ajax request library to simplify some tasks that I will be taking on shortly. For the most part everything works fine, however I seem to have some issues when running two...
4
by: TheRealPawn | last post by:
I'm trying to get the execution plan for a single stored procedure from Profiler. Now, I've isolated the procedure but I get all execution plans. Any ideas on how to connect the SPIDs so that I...
3
by: rcamarda | last post by:
Hello, I ran a query that I thought would take an hour, but instead took 14 hours to run. The consequence was it bogged down our data warehouse and the overnight build was adversely impacted. Is...
7
by: Peter Nurse | last post by:
Two (almost) identical SQL Server databases (DB1 backed up and restored to DB2 yesterday). DB2.dbo.GetSchPaymentsTD took 1.5 seconds (!) to execute DB1.dbo.GetSchPaymentsTD took less than a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.