使用 nant 脚本运行 msbuild 来注册程序集有什么问题?
我正在从 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论