473,791 Members | 2,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing build configurations deletes my dlls (why??)

Ok i have a solution which contains a exe and a dll. The exe references
the dll via project references. I build the solution in release mode.
In the release folder I can see the dll and exe built. I change the
build configuration to debug to build a debug version. Note I haven't
built it yet. Just the act of changing the build configuration deletes
the dll from the release folder. In fact the same happens when I change
back to release mode, the debug version is deleted.

Why does this happen?

I'm guessing I'm going to get answers based along the lines of 'it
needs to to know which component the IDE is currently working with etc'
I don't see how this is possible since it should point to the active
one. So what if the other one exists.

And I also assume the delay that I am experiencing (seen with very big
solutions 10+ projects) when I change build configurations it the IDE
quickly building the solutions so the dll exist. Is this correct? Can't
it be like make (from the old days) where you build something and it
stays even if I build something else in another folder???

Thx.

Aug 9 '06 #1
0 931

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

Similar topics

15
2361
by: cody | last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I want to start the project I have to wait nearly over 1 minute for the compiler to complete building. This is unaccaptable. I thought about loading only the project I need into visual studio and not the whole solution. The problem is that the compiler tells me it cannot find the referenced dlls (project references) although they are all lying in their bin and obj...
0
1054
by: vik | last post by:
Hi I have a project which uses crystal reports. In the project references that project is referring to older version of crystal dlls(9.1.5000.0). I have to update it to a new vesion of crystal dlls (9.2.33.00) . I changed the reference by deleting the reference in project and pointing it to new version of dll it changes the same in project. But when I build the project again and check the version of crystal dlls refernces get changed to the...
1
2911
by: Darren | last post by:
When I do a final build I typically build all projects in debug mode first and then release mode and then copy all files to a builds folder. However I've noticed that the .pdb files in the debug folder aren't always there. After investigating I found out that when I change from debug to release version, it deletes the .pdb files in the debug folder. Why would it do this? What else is it doing to my files? Thanks, Darren.
6
3489
by: Marco Zapletal | last post by:
hi list, i have an c# project, which contains some additional classes (nunit testclasses), which are not needed in a release build? is it possible to exclude them in the release build process? i dont want to put the nunit tests in another project, because then i have to switch the access modifiers from internal to public for the classes i want to test.
4
2544
by: Pete H | last post by:
I would like to have my new C++ projects start out with two configurations, UnicodeDebug and UnicodeRelease, instead of the standard Debug and Release configurations that Visual Studio always creates. Is there a way to configure Visual Studio to do this Thanks in advance - Pete H
2
1351
by: Daric | last post by:
Hi, al I'm using VS2002 to create my web application, by default, VS2002 will build my project in a single dll (myWebApp.dll), but I hope each page correspond to it's own dll (page1.dll, page2.dll), how can I build a ASP.net project in multi DLLs? Should I build each .cs file alone in command line? that's unimaginable in a large project Any comment is every appreciated Daric
5
1574
by: Rob R. Ainscough | last post by:
I have a moderately sized web application (30 pages, and 20 DLLs) that takes 10-20 minutes to "Build Solution" after I do a "Clean Solution" -- this is ONLY apparent after a "Clean Solution" I have a reasonably power workstation (3.06Ghz dual Zeon with 4GB RAM and 10K RPM hard drives) -- this problem ONLY occurs immediately after I do a Clean Solution and then "Build Solution" -- if I just run Build Solutions (one after another) it only...
9
1986
by: yevvi | last post by:
Hi, We have a product with bunch of dlls which are now built with Visual Studio 2003. We want to switch the build to use VS2005. I have read that in VS2005 runtime libraries come as side-by-side assemblies and that application has to have a manifest binding it to those assemblies. My question is, can previously built apps use my new dlls build with vs2005? It would be really important to make it work, because otherwise we would...
1
2374
by: KK | last post by:
I have a C# application with different projects in the solution. I need to change the application icon based on build configuration. I have different build configurations for branding the application. I can change the icons and splash screens without any problems. The only problem is the Application icon which is used to show in the taskbar and in Windows Explorer. Is there any way to change this? I would also like to change the...
0
9515
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
10207
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...
1
10155
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9995
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
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...
0
6776
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
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
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.