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

Serious Batch Build Bug!!

If I rebuild all my projects (for each configuration: debug & release)
using batch build, the WRONG referrenced DLLs are copied into the bin
folder for the main project.

If I do a batch build, I expect the RELEASE versions of my referenced
projects to be in the RELEASE bin folder of my main project, however,
if the configuration dropdown in my toolbar says DEBUG, then the DEBUG
versions will be copied to the RELEASE bin folder.

Likewise, if RELEASE is selected in the dropdown, the RELEASE versions
of the reference DLLs are put into the DEBUG bin folder.

This is a very serious problem. Am I doing something else wrong?

Is this a known bug?

Thanks!

Dec 6 '05 #1
3 1629
Can you zip up a solution which the rest of us can use to confirm this?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"GoogleNewsReaderMan" <lo***********@hotmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
If I rebuild all my projects (for each configuration: debug & release)
using batch build, the WRONG referrenced DLLs are copied into the bin
folder for the main project.

If I do a batch build, I expect the RELEASE versions of my referenced
projects to be in the RELEASE bin folder of my main project, however,
if the configuration dropdown in my toolbar says DEBUG, then the DEBUG
versions will be copied to the RELEASE bin folder.

Likewise, if RELEASE is selected in the dropdown, the RELEASE versions
of the reference DLLs are put into the DEBUG bin folder.

This is a very serious problem. Am I doing something else wrong?

Is this a known bug?

Thanks!

Dec 6 '05 #2
Unfortunately, I can't attach anything. However, I really appreciate
your help.
If you currently have a solution with a windows app and at least one
other class library project, you can easily test this with your own
stuff.
Just put something like what I typed below into a class defined in a
supporting class library and call it from your windows app and show in
a message box. (Try simply running the debug config, then run the
release config. Then set the config to whichever and do a batch buld
and rebuild all -- then go directly to the output folders and run the
windows app from there. You will see that the supporting DLLs will all
be based on the dropdown.)
I'd really appreciate hearing what you find. Thanks!!!

public static string GetVersion()
{
#if DEBUG
return "Debug";
#else
return "Release";
#endif
}

Dec 6 '05 #3
No takers??!!

Okay... let me make it even easier for those at home to see this
problem.

You should be able to do this with any solution that has multiple
projects.

Start by "cleaning" --- select batch build and select all and click
clean.
Now, from the configuration dropdown, select either debug or release.
Then do a batch build, but select all projects with the opposite of the
dropdown selection. (i.e. if you picked debug from the dropdown, in
batch build, select all release projects). Do a rebuild from this
dialog.

You should see errors as the build tries to use the wrong DLLs -- and
you'll probably end up with nothing in the bin folder.

Try it, please.

Dec 7 '05 #4

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

Similar topics

8
by: Tim | last post by:
Here is a description of my problem... call mysub (5, 10) sub mysub (valA, valB) response.write valB valA = valA - 1 response.write valB end sub
0
by: Lynn Gasch | last post by:
Hi, I just converted a project to VS.NET 2003 (.NET 1.1) and can't seem to fix this odd error in the postbuild step. The steps work in one configuration but not in another, and with the...
5
by: Colonel Kernel | last post by:
I've found what seems to be a very serious (although obscure) bug in VC++.NET 2003 when using Loki's class hierarchy-generation facilities. The compiler seems to generate an invalid v-table for my...
0
by: Ioannis Vranos | last post by:
I have come across a somewhat serious Windows Installer bug. When we create an installer with a shortcut to an executable marked as to be "published" (that is the installer recreates the executable...
5
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of...
3
by: Floris van Haaster | last post by:
Hi all, First of all: i know this is maybe not the correct newsgroup to post this but i want to get the info from real programmers and what they feel is the best. What i need is a project...
2
by: tormod | last post by:
I'm using Visual Studio 2005 professional edition and try to build a web site built in c#. The solution consists of about 20 class library projects and one web site. The web site references the...
0
by: cmk128 | last post by:
Hi All I am using vs2003.net, in c# IDE, when i add a new "project configuration", there will be a new item in the "batch build" menu. But after i delete that "proejct configuration", that item...
4
by: Ronny | last post by:
I have a mixed solution -most of its projects are in C# and some are in C++?MFC. Problem is that when I compile the solution with batch build the MFC files end up wit compilation errors, but if I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.