通过 COM 使用 C# 进行 InDesign Server 开发
我想通过 COM
使用 C#
开发一个基于 InDesign Server
的应用程序。目前,我正在努力寻找理想的设置,因为我找不到可以从我的源存储库中引用的合适的 ~interop.dll
(以便其他开发人员能够针对 进行编码>InDesign Server
类、结构等)。我开始相信实际上不存在这样的东西,这意味着每个开发人员都必须安装 InDesign Server
的 试用
版本并在 中注册它>Visual Studio
通过 COM
包装器。有人能指出我正确的方向吗?
提前谢谢!
I would like to develop an application based on InDesign Server
in C#
over COM
. At the moment I'm struggling with the ideal setup as I can't find a proper ~interop.dll
that I could reference from my source repository (for other developers to be able to code against InDesign Server
classes, structs etc.). I'm starting to believe that actually there is no such thing, meaning that each and every developer would have to install a trial
version of InDesign Server
and register it in Visual Studio
through COM
wrapper. Can someone point me into the right direction?
Thx in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为了获取我和我的团队在 Visual Studio 2010、InDesign CS5 Server 自动化项目中引用的 DLL,我们执行了以下操作。
祝你好运!
To get the DLL my team and I reference in our Visual Studio 2010, InDesign CS5 Server automation project, we did the following.
Good luck!
您可以这样做:
在一台装有 Visual Studio 2010 的计算机上安装 InDesign Server。
如果您使用的是 Windows 7,请转到 InDesign Server 安装文件夹(例如 C:\Program Files\Adobe\Adobe InDesign CS5.5 Server)并将 *.dll 从文件夹 \omniorb 复制到 system32 文件夹(例如 C:\Windows\System32 )。
以管理员身份运行 InDesignServer.exe(例如 C:\Program Files\Adobe\Adobe InDesign CS5.5 Server\InDesignServerService.exe)。
编译项目,转到 \ProjectDir\obj\Debug\ 并复制 Interop.InDesignServer.dll 。
You can do it like that:
Install InDesign Server on one machine with Visual Studio 2010.
If you have Windows 7, go to InDesign Server installation folder (e.g. C:\Program Files\Adobe\Adobe InDesign CS5.5 Server) and copy *.dll from folder \omniorb to system32 folder (e.g. C:\Windows\System32 ).
Run InDesignServer.exe as Administrator (e.g. C:\Program Files\Adobe\Adobe InDesign CS5.5 Server\InDesignServerService.exe).
In some test project in Visual Studio add reference (COM tab) named Adobe InDesign Server CS5.5 Type Library - you should see 2 versions, one pointing to IDS installation folder and one to your profile dir.
Compile project, go to \ProjectDir\obj\Debug\ and copy the Interop.InDesignServer.dll .