[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VS 2012 Web.config Transformation and Solution Configuration Dropdown?

Posted on 2014-07-10
3
Medium Priority
?
150 Views
Last Modified: 2014-07-14
I have web.config Transformations working on Publish. I notice it doesn't seem to matter if I use the Solution Configuration drop-down and choose Debug or Release, on Publish the contents of web.release.config are always used...

Q. Where does the Solution Configuration (Debug/Release) dropdown come into play?
0
Comment
Question by:WorknHardr
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 1200 total points
ID: 40189289
Do you have transforms in your solution? You should have one for each solution configuration you have in the drop-down box:

e.g.

Screenshot
Whenever you change the drop-down, then the corresponding transform should be applied.

In your publish profile you also will select which solution configuration is applied:

Screenshot
0
 

Author Comment

by:WorknHardr
ID: 40189411
Okay, I get it now. I was confusing the 'Solution Configuration (Debug/Release) with the Publishing location specific web.config settings.

This way one could Publish
1. Solution Configuration (Debug) using web.QA.config and specific Publish location
2. Solution Configuration(Release) using web.QA.config and specific Publish location
3. etc...
0
 

Author Closing Comment

by:WorknHardr
ID: 40195017
Excellent! thx
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question