473,836 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Deployment Project and web.config file section replacements??

Hello,

I have a Web Deployment Project (WDP) for my Web Site Project (WSP) (not a
Web Application Project).

I put an additional prodAppSettings .config file on my development machine
and enabled web.config file section replacements for the appSettings
element. The replacement is working fine, except, that it is copying the
prodAppSettings .config file to the output directory. Is there a way to
prevent my prodAppSettings .config file from being copied to the destination?
Do I have to add a custom task to my postbuild event to delete the file?

TIA
Feb 16 '07 #1
0 2106

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

Similar topics

4
2476
by: MadCrazyNewbie | last post by:
Hey group, Could somebody possibly help? I know i`ve asked this before but ended up getting so confused. If I take my .exe from my bin directory and move it to another PC, i keep getting loads of security exceptions.(See Below) Anybody got a simple how to on builing a deployment package or script to sort this.
0
1167
by: Lloyd Dupont | last post by:
Hi! I'm a newbie ;-) I started to write an excessively simple ASP.NET "utility" web app, named WebSite1. Inside of it I'm using FreeTextBox (http://www.freetextbox.com) Then I modified the Web.config file as follow (to recognize the tag FTB): === <system.web> <pages> <controls> <add tagPrefix="FTB" namespace="FreeTextBoxControls" assembly="FreeTextBox"/>
3
9245
by: Keith Elder | last post by:
Let's say you have a stand alone C# library project that is your datalayer. When this library compiles it will produce "My.DataLayer.dll" for example. In the project you use all the new whizbang DataSet generation tools to create some datasets, etc in your DataLayer project. When you setup a connection string it adds a settings.settings file and na app.config to the project which holds the connection string. Essentially the...
0
1129
by: Otis Mukinfus | last post by:
I'm trying to use the Enable Web.config file section replace ment option, but can't seem to get it to work. Here is a sample of the section I put in a file named 'ConnectionString.config'. <connectionStrings> <add name="SomeConnectionString" connectionString="Data Source=SomeDataSource;Initial Catalog=SomeCatalog;Persist Security Info=True;User ID=AUser;Password=APassword" providerName="System.Data.SqlClient" />
0
1867
by: =?Utf-8?B?SWFu?= | last post by:
Hi, I'm using VS 2005 SP1 with Web Deployment Project download v8.0.51103, according to the Add/Remove programs applet. I've got a file based web service project with an associated web deployment project. I want to build my release version of the wdp with debug info so I can run NUnit on the output and doing that causes the wdp build to set <compilation debug="true"/in the web.config file. I've setup a replace config section...
3
2292
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file, test.appSettings.config, and when I build the appSettings are correctly overridden, but I also end up with a copy of test.appSettings.config in my web site. If I have config sections for several environments they all get copied. How do I stop the copy? I wondered...
3
2440
by: shapper | last post by:
Hello, I am using VS 2008 and and just downloaded Web Deployment Projects: http://connect.live.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=319288 I need the connection string in my web site Web.config file to be replaced. So I created a new file named ConnectionStrings.config that contains only the following:
1
1284
by: Justin Friel | last post by:
Hi, I have been using a web deployment project with Visual Studio 2008 Standard Edition to deploy a website. There are a couple of settings which aren't working exactly as I expected and was wondering if anyone on the list has more info. First, I'm trying to use the Web.config file section replacements feature to replace a custom section in my config file. The project can replace the appsettings and connectionstrings sections just...
3
1638
by: ThatsIT.net.au | last post by:
I have been looking into web config file section replacements I have set it buy putting in the line into the deploy section connectionStrings=connectionStrings.config; I then have a file by that name in the root directory with <?xml version="1.0"?> <connectionStrings>
0
10843
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10546
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
10589
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
10254
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...
1
7790
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
6978
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
5825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4448
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
3112
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.