部署场景:交换具有不同位数的 COM DLL 的方法 - ASP.NET 网站,dev 64 与 prod 32

发布于 2024-10-01 15:53:38 字数 282 浏览 1 评论 0原文

我们正在使用 VS 2008 在 64 位计算机上开发 ASP.NET 网站,并将其部署到 32 位 Windows 临时服务器。

我们拥有两个版本的 COM DLL:

  • 用于 32 位计算机的 Assembly32.dll
  • 用于 64 位计算机的 Assembly64.dll

我们知道在哪里使用什么。

问题是我们如何在这种情况下创建一个简单的部署场景?我们不希望有一个手动过程来更改生产服务器上的 DLL。

We're developing an ASP.NET Website on a 64-bit machine with VS 2008, and deploying it to a 32-bit Windows staging server.

We have two versions of a COM DLL in our posession:

  • Assembly32.dll for 32 bit machines
  • Assembly64.dll for 64 bit machines

We know what to use where.

The question is how do we make an easy deployment scenario out of this situation? We'd rather not have a manual process in place to change the DLL on the production server.

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

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

发布评论

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

评论(1

两相知 2024-10-08 15:53:38

为什么不偷偷摸摸地把开发机器切换到 32 位 IIS?

http://support.microsoft.com/kb/894435

Why not be sneaky and just switch the dev machines to 32-bit IIS?

http://support.microsoft.com/kb/894435

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