使用 nant 脚本运行 msbuild 来注册程序集有什么问题?

发布于 2024-07-09 14:23:45 字数 233 浏览 5 评论 0原文

我正在从 NAnt 脚本运行 MSBuild。 当它尝试为 com interop 注册我的程序集之一时,脚本就像卡住一样停止了。

如果我在程序集上运行 regasm.exe,它就会成功。 即使我使用完全相同的参数从命令行运行 MSBuild 本身,它也会成功构建。

使用 NAnt 脚本运行 MSBuild 注册程序集有什么问题? 会不会是权限?

I'm running MSBuild from a NAnt script. When it tries to register one of my assemblies for com interop, the script stops like it's stuck.

If I run regasm.exe on the assembly, it succeeds. Even if I run MSBuild itself from the command-line with the exact same parameters, it builds successfully.

What is the problem with using the NAnt script to run MSBuild to register the assembly? Could it be permissions?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文