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

Different app.configs for different build configurations?

Hi, I want to include a different app.config in the release vs. the
debug build. How can this be done?
Nov 15 '05 #1
2 1775
set the one in your Release folder as Read Only. you'll get an error during
the build when the compiler
tries to copy App.Config on top of it, but it shouldn't be modified.
"n_o_s_p_a__m" <n_**********@mail.com> wrote in message
news:1f**************************@posting.google.c om...
Hi, I want to include a different app.config in the release vs. the
debug build. How can this be done?

Nov 15 '05 #2
What I would like to do is have more than one app.config in the project, and
have them be conditionally built based on the output configuration.

"Ken Onweller (.NET MCSD)" <an*******@discussions.microsoft.com> wrote in
message news:uW**************@tk2msftngp13.phx.gbl...
set the one in your Release folder as Read Only. you'll get an error during the build when the compiler
tries to copy App.Config on top of it, but it shouldn't be modified.
"n_o_s_p_a__m" <n_**********@mail.com> wrote in message
news:1f**************************@posting.google.c om...
Hi, I want to include a different app.config in the release vs. the
debug build. How can this be done?


Nov 15 '05 #3

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

Similar topics

2
by: nfr | last post by:
Default build directories seem to be somewhat different between C# and Visual Basic.NET. Both have "Debug" and "Release" directories under "obj". However, Visual Studio.NET defaults to a single...
4
by: Benne Smith | last post by:
In our company, i have three servers; 1) a development server (mine only - here i make daily changes and test my stuff) 2) a test server (for the users to test milestone builds - changes weekly)...
0
by: T. Hristov | last post by:
Hello, in my C# project I want to have one and the same windows form under different build configuration with some little changes(in order to have two versions of the same product). Is this...
0
by: Atara | last post by:
Is there a way I can use different references for different configurations of my project? I have different project (and solution) configurations. Do I have to 'Add reference' of all the dll's I...
0
by: spam | last post by:
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....
8
by: Bruce | last post by:
I am using VB in Vs2005. Am I missing something or does VB not have the concept of "builds" (release/debug) like in VC? I wrote an assembly and I would like to have a debug version of the DLL...
0
by: Dmitrii | last post by:
My C# project has 4-configuration: Debug, Release, DebugPlus, and ReleasePlus. In each of these configurations the C# program should consume (be "linked" to) a different Assembly.dll build...
28
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am developing C++ COM native code (unmanaged C++) using Visual Studio 2005. I do not take any new features of 64-bit platform, and currently my code runs fine on 32-bit...
6
by: =?Utf-8?B?Q2hhcmxlcyBS?= | last post by:
I have two different executables that I want to build w/ the same source but in 2 different compilers, vs60 and vs2008. I have 2 different configurations w/ different options etc, but I want one...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: 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:
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
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...

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.