EaBIM一直以来积极响应国家“十二五”推进建筑业信息化的号召,对建筑领域的信息技术开展深入技术交流和探讨!致力于打造“BIM-建筑师-生态技术”三位一体综合资源交流共享平台,希望为BIM与可持续设计理念及技术的普及做出微小的贡献!!!

fjd4471843 发表于 2016-3-1 13:05:47

求助!revit二次开发独立界面时 无法加载revit API

C:\Users\fred\Desktop\QS_U~`RK%5BEC9ZU8RU8SQREQ.png 如图 本人新人一个 还望大家帮忙 急急急

fjd4471843 发表于 2016-3-1 13:06:54

未处理System.BadImageFormatException
HResult=-2147024885
Message=未能加载文件或程序集“RevitAPI, Version=2015.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。试图加载格式不正确的程序。
Source=Revitblog1
FileName=RevitAPI, Version=2015.0.0.0, Culture=neutral, PublicKeyToken=null
FusionLog==== 预绑定状态信息 ===
日志: DisplayName = RevitAPI, Version=2015.0.0.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
日志: Appbase = file:///c:/users/fred/documents/visual studio 2013/Projects/Revitblog1/Revitblog1/bin/Debug/
日志: 初始 PrivatePath = NULL
调用程序集: Revitblog1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null。
===
日志: 此绑定从 default 加载上下文开始。
日志: 正在使用应用程序配置文件: c:\users\fred\documents\visual studio 2013\Projects\Revitblog1\Revitblog1\bin\Debug\Revitblog1.vshost.exe.Config
日志: 使用主机配置文件:
日志: 使用 C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config 的计算机配置文件。
日志: 此时没有为引用应用策略(私有、自定义、分部或基于位置的程序集绑定)。
日志: 尝试下载新的 URL file:///c:/users/fred/documents/visual studio 2013/Projects/Revitblog1/Revitblog1/bin/Debug/RevitAPI.DLL。
错误: 未能完成程序集的安装(hr = 0x8007000b)。探测终止。

StackTrace:
       在 Revitblog1.FrmCmd..ctor()
       在 Revitblog1.Program.Main() 位置 c:\Users\fred\Documents\Visual Studio 2013\Projects\Revitblog1\Revitblog1\Program.cs:行号 19
       在 System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       在 System.Threading.ThreadHelper.ThreadStart()
InnerException:

fjd4471843 发表于 2016-3-1 13:12:33

C:\Users\fred\Desktop\QS_U~`RK%5BEC9ZU8RU8SQREQ.png

fjd4471843 发表于 2016-3-1 13:15:32


fjd4471843 发表于 2016-3-1 13:16:22

fjd4471843 发表于 2016-3-1 13:15


VS2013专业版 revit2015

haozyh 发表于 2016-3-1 13:52:56

ggggggggggggggg

haozyh 发表于 2016-3-1 13:53:36

C:\Users\fred\Desktop\QS_U~`RK%5BEC9ZU8RU8SQREQ.png

妮可 发表于 2016-3-23 10:40:39

<( ̄ˇ ̄)/路过

萧闫子 发表于 2016-3-27 12:17:51

感谢分享
页: [1]
查看完整版本: 求助!revit二次开发独立界面时 无法加载revit API