如何在构建期间转换webconfig(localhost)? [英] How to transform the webconfig during build (localhost)?

查看:52
本文介绍了如何在构建期间转换webconfig(localhost)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

由于我有针对特定环境的不同数据库,因此转换我的webconfig有些麻烦。虽然它在发布期间确实有效,但是当我在本地主机情况下运行它时它不起作用。

我能做些什么吗?我做错了什么?

问候,

Leo。


解决方案

Hi Leo,


欢迎来到MSDN论坛。


请参阅您的描述,您的问题是关于ASP.NET应用程序开发,因为我们的论坛是
< span style ="font-family:'Calibri',sans-serif; font-size:11pt">讨论Visual Studio WPF / SL设计器,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio编辑器重定向到这个适当的
论坛: https://forums.asp.net/26。 aspx / 1?配置+和+部署并开始一个新的线程,寻求更多的信奉支持,谢谢您的理解。




最好的问候,


萨拉


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?
Regards,
Leo.

解决方案

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,

Sara


这篇关于如何在构建期间转换webconfig(localhost)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆