473,408 Members | 1,735 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,408 software developers and data experts.

How to order builds?

I'm using a custom Configuration to build four of eight projects under
the same solution. For this configuration (call it ConfigA), I have
the four projects set to build. However, the order is important. When
I update a DLL that happens to start with the letter "u", the EXE,
which happens to build first and depends on the DLL, never gets this
update.

I'm not using project dependencies. Everything is via file reference.
Is there a way to set the build order for this configuration?

Thanks,
Brett

Mar 3 '06 #1
3 1311
If you link your assemblies by project, you will see a new option when you
right click on your solution from your Solution explorer. A new option will
appear called "Build Order . . .". This will let you set the build order.
Since you are not refencing them by project, and not by file, the "Build
Order" option will not be present when you right click on your solution.

Is there any reason why you are referencing the file, and not the project?
In my experience, doing it by file causes issues, especially if you are
still developing it.

"Brett Romero" wrote:
I'm using a custom Configuration to build four of eight projects under
the same solution. For this configuration (call it ConfigA), I have
the four projects set to build. However, the order is important. When
I update a DLL that happens to start with the letter "u", the EXE,
which happens to build first and depends on the DLL, never gets this
update.

I'm not using project dependencies. Everything is via file reference.
Is there a way to set the build order for this configuration?

Thanks,
Brett

Mar 4 '06 #2
Because these DLLs may or may not go along with the EXE. They are
generic and work with many EXEs. That's why I'm doing it by file.
When I deploy, I want the EXE to reference a DLL file, not a project.

Perhaps I misunderstand how that works. What is the difference in
referencing by file and project post development (or deployment wise)?

Thanks,
Brett

Mar 6 '06 #3
It doesn't matter when you deploy your EXE. Whether you reference the file
directly, or the Project (which eventually references the dll file), it is
still referenced the same.

Add the DLL the project to your solution. Then on your EXE project, right
click and then click on "Add Reference". Choose the "Projects" tab and then
add the DLL project to your references. This will not affect your
deployment, because ultimately, it is referencing the *.dll file after you
compile. The only difference is that your DLL will get compiled AND you will
be able to set the build order, which was your question.

"Brett Romero" wrote:
Because these DLLs may or may not go along with the EXE. They are
generic and work with many EXEs. That's why I'm doing it by file.
When I deploy, I want the EXE to reference a DLL file, not a project.

Perhaps I misunderstand how that works. What is the difference in
referencing by file and project post development (or deployment wise)?

Thanks,
Brett

Mar 7 '06 #4

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

Similar topics

39
by: Nicolas Fleury | last post by:
In the following example: class MyMetaclass(type): pass class MyBaseType(object): __metaclass__ = MyMetaclass class MyType(MyBaseType): x = 4 y = 5 z = 6 Is there any way to modify...
7
by: Rajorshi | last post by:
Hi, I am relatively new to c programming. I have a question regarding C's increment (++) operator. KnR says that unary operators like ++ associate from right to left. Having that information, I...
0
by: Philip Townsend | last post by:
I have a datagrid that contains a dropdown list that is part of an EditItemTemplate. I need to run some code when the dropdown list builds in order to preselect an item in the list. Preselecting...
0
by: Jon | last post by:
I have a datagrid with several columns. I want to allow the users to order these in any way they like. I have a database table where this will be stored for each user, so it is persisted...
4
by: Nick | last post by:
Hi there, I have a solution which consists of 2 class libraries and 2 executables which both consume these class libraries. I've set the correct dependencies in order for the VS to...
13
by: Bevan Arps | last post by:
I have a simple question, but one to which I haven't (after a whole bunch of Googling) been able to find an answer: Are there any guarantees to the order of PropertyInfo objects returned by a...
9
by: Brett Romero | last post by:
I have an EXE project with four project dependencies (DLLs). I need to set the order of these builds. However they are automatically ordered by alpha. There aren't any settings to change this. ...
9
by: Bern McCarty | last post by:
I am porting stuff from MEC++ syntax to the new C++/CLI syntax. Something that we did in the old syntax that proved to be very valuable was to make sure that the finalizer would purposefully...
4
by: Abandoned | last post by:
Hi.. I have a dictionary like these: a={'a': '1000', 'b': '18000', 'c':'40', 'd': '600'} ...... 100.000 element I want to sort this by value and i want to first 100 element.. Result must be: (...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.