monodevelop可以像VS2010一样进行Web.config转换吗

发布于 2024-12-26 13:03:17 字数 87 浏览 5 评论 0原文

当我们想要在发布暂存或生产时避免错误时,进行 Web.config 转换非常重要。这可以使用 monodevelop 来完成吗?我一直在寻找解决方案但没有成功。

It's very important to have Web.config transformations when we want to avoid errors while publishing for staging or production. Can this be done using monodevelop? I've search for a solution without any success.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

悲凉≈ 2025-01-02 13:03:17

如果有人发现这个问题,我会在很长时间后回答。​​
我开发了一种通过xbuild(不是直接通过 Monodevelop)使用 Web.config 转换来发布 ASP.NET 项目的方法。
您可以找到它

I'm answering after a long time in case someone finds this question.
I have developed a way to publish a ASP.NET project through xbuild (not directly through Monodevelop) with Web.config transformations.
You can find it here.

信愁 2025-01-02 13:03:17

目前还没有(截至 2.10.9)。 Mono 尚未实现 MSDeploy,特别是 Microsoft.Web.Publishing.Tasks.dll 程序集和 Microsoft.Web.Publishing.targets 文件。

Not currently (as of 2.10.9). Mono does not yet have an implementation of MSDeploy, and specifically the Microsoft.Web.Publishing.Tasks.dll assembly and the Microsoft.Web.Publishing.targets file.

素罗衫 2025-01-02 13:03:17

您可以使用 MSBuild.Microsoft.VisualStudio.Web.targets NuGet 包 ,请参阅 TransformXml 任务在使用 mono 的 Linux 上通过 msbuild 失败获取完整说明。

You can use the MSBuild.Microsoft.VisualStudio.Web.targets NuGet package , see TransformXml task fails via msbuild on linux using mono for full instructions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文