473,728 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1646
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.co m

"GoogleNewsRead erMan" <lo***********@ hotmail.com> wrote in message
news:11******** *************@g 49g2000cwa.goog legroups.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
1775
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
1775
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 exception of the output directory name, the commands are exactly the same! If I remove the regasm line from the "broken" configuration, it works. The error I get is: The filename, directory name, or volume label syntax is
5
1318
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 class, which causes virtual method calls to dispatch incorrectly, causing run-time errors and crashes. The problem seems to occur because the compiler doesn't catch the case where I give a template method the same name as a virtual method defined...
0
809
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 in case it is missing), when we place such a shortcut in the Startup folder, it occasionally corrupts all executed shortcuts in the Startup folders (that is, it seriously messes things). I have observed this behaviour in Windows XP...
5
5357
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 the DLL. If I do a 'Batch Build' and select both Debug and Relase versions for building it will build the debug version but throws up errors for the Release version. For example, the output I get for a Batch Build is this - ...
3
1626
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 management tool/website to manage our project and bug tracking. Now we use an intranet from http://www.diggersolutions.com/ to manage our
2
1615
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 class libraries in the project to project fashion. My problem starts when I try to build the solution. The compilation of the projects completes fast, but after that visual studio goes into an idle state for about 30 seconds before it compiles...
0
1053
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 still exist in the batch build, how to fix this? thanks from Peter (cmk128@hotmail.com)
4
2437
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 compile them personally everything is OK. One more note- the MFC project is independent on any other project. Can some advise please? Regards Ronny
0
8895
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8755
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9267
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8117
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4523
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4787
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3231
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2159
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.