How to transform the webconfig during build (localhost)? RRS feed

  • Question

  • Hello everyone,
    Having some trouble with the idea of transforming my webconfig since I have different databases for specific environments. Although it does work during publish, it does not work when I run them in a localhost situation.
    Is there anything I can do about that? Anything wrong I am doing?

    Thursday, July 27, 2017 2:32 PM

All replies

  • Hi Leo,

    Welcome to the MSDN forum.

    Refer to your description, your issue is about the ASP.NET application development, since our forum is to discuss the Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor, please redirect to this appropriate forum: https://forums.asp.net/26.aspx/1?Configuration+and+Deployment and start a new thread to seek for a more professional support, thank you for your understanding.

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Friday, July 28, 2017 5:51 AM
  • Thank you so much. I will do that.
    Friday, July 28, 2017 12:43 PM