web-config-transform Questions
16
Solved
For Visual Studio 2010 Web based application we have Config Transformation features by which we can maintain multiple configuration files for different environments. But the same feature is not ava...
Physical asked 9/6, 2010 at 8:38
3
I'm using a web.config transform to replace settings with the settings of the selected solution configuration. However, I would like to add a setting that stores the datetime of the publish process...
Hole asked 26/7, 2011 at 9:30
8
Solved
I made a web.config (full file, it doesn't show XML errors)
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
....
Circumvent asked 25/3, 2011 at 14:51
10
Solved
In a .NET MVC 3.0 Application I have the following configuration in appSettings:
web.config
<appSettings>
<add key="SMTPHost" value="mail.domain.com"/>
<add key="SMTPUsername" val...
Hammy asked 12/1, 2012 at 19:26
6
Solved
So, I have VS 2010 installed and am in the process of modifying my MSBuild script for our TeamCity build integration. Everything is working great with one exception.
How can I tell MSBuild that I ...
Vltava asked 25/5, 2010 at 13:40
2
Solved
I'm using VSTS to deploy at several environments. And as usual, some parameters on config files need to be different depending the environment, hence I will use config transformations to deploy it ...
Supereminent asked 20/6, 2018 at 10:55
2
So I'm trying to replace a dependentAssembly when someone adds my nuget package to their code.
The assembly I want to change is:
<dependentAssembly>
<assemblyIdentity name="Common.Lo...
Pinkard asked 18/6, 2015 at 9:14
1
Looking to setup jenkins to deploy my web app I'm using the script
msbuild WEB.csproj /p:Configuration=stage /t:Build /p:PrecompileBeforePublish=true /p:OutputPath=c:\test /p:DeployOnBuild=true /...
Overcareful asked 6/11, 2018 at 18:26
6
I have an ASP.NET Web Application project that connects to a remote database via the Entity Framework. During debugging (eg running the project on my local computer), the IP address to the database...
Aragon asked 19/1, 2013 at 15:2
4
Solved
I am working in an ASP.net MVC 5 solution in Visual Studio 2015. I have the following web.config
How do I rename those to be
Web.Integration.config
Web.Staging.config
Web.Production.config
W...
Shelbashelbi asked 14/7, 2016 at 10:0
7
I am using the solution to this question in order to apply configuration changes to App.config in a Winforms project. I also have an installer project for the project that creates an installable *....
Fisherman asked 26/7, 2011 at 17:51
2
I've been using web.config transforms for a while now, for deployment on a few of our projects. What I'm now trying to achieve, is to have Web Deploy's 'Import Package' screen to prompt to check &a...
Janot asked 25/7, 2012 at 7:0
5
My team is in love with publish profiles. We have a number of testing environments that we work in, and using Web.config transforms we're able to substitute the names of machines in each environmen...
Gigantes asked 18/10, 2013 at 18:1
2
In visual studio (web.config transformations) I have a transformation I want to perform which adds two attributes on the root element.
One attrbute works (but not multiple ones).
And I can set mul...
Risinger asked 31/7, 2012 at 8:12
3
Solved
I am so confused on this. I want to use the SQL Server on my desktop when I am developing and using the live SQL Server when I publish my project. I am playing with the transformation stuff in Visu...
Tinsmith asked 3/11, 2011 at 15:49
2
I am using Web.config transforms to successfully create debug and release versions of the my web.config - this is working correctly.
I am interested to know whether there is a 'machine name' prop...
Woald asked 12/8, 2013 at 15:0
2
Hi i want to insert a rewrite rule for "Redirect to HTTPS" but only on my release config
This is how the rewrite rule looks
<system.webServer>
<rewrite>
<rules>
<rule name...
Marcelmarcela asked 24/2, 2016 at 10:51
2
I've been using web.config transforms with good success. I've just recently implemented connection strings encryption and am unsure how to modify my Release transform.
Before hand I was simply rep...
Mako asked 9/9, 2013 at 9:55
4
Solved
I store several different connection strings in my web.config for development and testing. All but one is commented out so I can change info as needed.
When I publish, I would like to replace ever...
Linlithgow asked 8/8, 2014 at 22:38
5
I was trying to deploy my app into different environments then i started following this how to:
Deploying an ASP.NET Web Application to a Hosting Provider using Visual Studio or Visual Web Develope...
Sulphurbottom asked 8/2, 2013 at 16:7
1
Solved
This question is kind of a two parter. In VS2015 my MVC project has multiple different build configurations, Test, UAT, Live etc. With my web.config I can simply right click it and select Add Confi...
Mendacious asked 10/7, 2015 at 9:58
1
Solved
I decided I wanted to move some rewrite rules into our web.release.config and web.staging.config files in order to keep the rewrite rules relevant to the environments our different configurations r...
Transliterate asked 5/6, 2014 at 11:40
2
Solved
Does anybody know how to get the web.config transformation to replace a custom configuration section. I have set msbuild to verbose mode and the transformation simply ignores the existence of the c...
Goodrum asked 29/1, 2011 at 10:41
4
Solved
I'm using web.config transformation as described in the below post in order to generate configs for different environments.
http://vishaljoshi.blogspot.com/2009/03/web-deployment-webconfig-transfo...
Superfluous asked 20/4, 2011 at 15:16
4
Solved
I have a web.config rewrite rule specified to move all traffic to https. The rule works, but I don't want SSL required while I am debugging. I have a bunch of web.release.config transformations bei...
Casebook asked 9/8, 2011 at 23:0
1 Next >
© 2022 - 2024 — McMap. All rights reserved.