gpt4 book ai didi

c# - sap businessobjects unv designer : cannot add c# reference designer. exe

转载 作者:太空狗 更新时间:2023-10-30 01:36:32 27 4
gpt4 key购买 nike

我正在尝试编译一个使用 SAP Business Objects 4.0 Universe 设计器 API 的简单程序。我基本上遵循这个简单的指南: Getting Started with Designer SDK in C#

指南的要点是我必须添加对 COM 资源 designer.exe 的引用,它在 VS 项目的 COM 资源中列出。我添加它并收到消息:

A reference to 'BusinessObjects Designer 14.0 Object Library' could not be added. 

Could not register the ActiveX type library 'C:\..\win32_x86\designer.exe'.

我的电脑是Win7 64位,项目设置为x86。在 VS2010express 和 VS2012Express 中不起作用。

我已经为此苦苦挣扎了一天,它似乎可以在同事的电脑上工作。

最佳答案

为了在我的机器上解决这个问题,使用 Windows 8,我使用了 regtlibv12.exe 程序来注册 designer.tlb。

我的系统最初没有这个程序的副本,如本文所述:

What happened to regtlibv12?

文中提到,部分用户在安装.Net framework时已经可以获取到该实用程序,而在操作系统预装.Net framework时则缺失。

我在我的系统上使用了与另一个产品捆绑在一起的 regtlibv12.exe 副本,名为 InstallAware 16.

关于c# - sap businessobjects unv designer : cannot add c# reference designer. exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21940246/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com