Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7526867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:57:12+00:00 2026-05-30T03:57:12+00:00

I have one web application and virtual application in Azure. They are separate projects

  • 0

I have one web application and virtual application in Azure. They are separate projects in VS2010 and I have added them to one solution with one Azure deployment project.

I have created multiple web.configs to control parameters, ie web.debug.config etc.

When I publish to azure I specify debug which works for the main application but the virtual application is pointing to the web.config not the variants. How do I correct this please?

Many Thanks,
Steve.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:57:14+00:00Added an answer on May 30, 2026 at 3:57 am

    Solution

    The solution that worked for me from http://blog.hill-it.be/2011/03/07/no-web-config-transformation-in-local-azure/:

    To fix this, unload your Azure project, open the project file for edit and add the tag [under the corresponding PropertyGroup]:

    <Project ...>    
        <PropertyGroup>
          ...
              <packagewebrole>true</packagewebrole>
    

    Workaround

    There’s also a workaround, it will work for a local development, but not for continuous integration (or at least you will have to find another trick).

    1. In your service definition file add a new Site section:
    <Site name="AnotherSite" physicalDirectory="c:\AnotherSite">
      <Bindings>
        <Binding name="APIEndpoint" endpointName="AnotherSiteEndpoint" />
      </Bindings>
    </Site>
    
    1. Add a new endpoint to match the code above (any port works):
    <InputEndpoint name="AnotherSiteEndpoint" protocol="http" port="623" />
    
    1. Go to your web-project –> right-click –> Publish… –> FTP –> Location = “c:\AnotherSite”

    2. Press F5 and go to http://127.0.0.1:623

    It should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do you have one solution with the web application project, class libraries, database project
I have several web application projects in one solution. When I start debugging one
We currently have one dynamic web project (our main web application) already setup on
I have two virtual directories, one hosts an application the other hosts a web
We have one web application (sharepoint) that collects information from disparate sources. We would
I have one asp.net web application. It is using two membership provider. Two sign-in
I have a one page web application, which means alot of javascript. External scripts
I have one question; In my ASP.NET MVC web application have to do certain
I have a web application that has one set of files used by 50+
I have web application written in java using Eclipse. It has just one servlet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.