SandCastleGUI v1.56:扫描时无法加载文件或程序集 [英] SandCastleGUI v1.56: Could not load file or assembly when scanning
问题描述
大家好!
我很难找到这里发生的事情......
用户界面已启动。
删除outputdir中的所有文件(C:\ Users \ pcv \Desktop\sandcastle)...
从outputdir复制程序集...
Hardcodet.Wpf.GenericTreeView.dll
Hardcodet.Wpf.GenericTreeView.xml
SVNRepositoryCreator.exe
SVNRepositoryCreator.vshost.exe
System.Windows.Controls.Input.Toolkit.dll
Utils.dll
WPFToolkit.dll
扫描:hardcodet.wpf.generictreeview.dll
异常:无法加载文件或程序集'file:/// C:\ Users \ pcv \ Desktop \sandcastle \Hardcodet.Wpf.GenericTreeView.dll'或其依赖项之一。此程序集由比当前加载的运行时更新的运行时构建,无法加载。
用户界面已关闭。
相关数据
- 汇编 目录: ... \ bin \发布
- 解决方案:WPF Windows应用程序(VS2010)
- 目标框架: .NET Framework 4客户端配置文件(及其所有依赖项)
- 系统: Windows 7企业版
我已经尝试过的步骤:
- 如果我删除了冲突。来自汇编目录的dll(Hardcodet.Wpf.GenericTreeView.dll)然后触发SVNRepositoryCreator.exe(下一个)上的异常触发器。
- 我已经仔细检查过Hardcodet.Wpf.GenericTreeView.dll和Utils.dll中的目标框架是.NET Framework 4 Client Profile。
- 我正在参考>>属性 并将 特定版本标志设置为False(和True)。没运气。
- 我已经签署了大会。也没有运气。
我的结论
我认为问题可能与尝试加载两个不同版本的程序集有关,但我认为不知道原因。
提前致谢,
Pedro
为什么会出现异常?
异常:无法加载文件或程序集'file:/// C :\ Users \ pcv \Desktop \sandcastle \Hardcodet.Wpf.GenericTreeView.dll'或其依赖项之一。此程序集由比当前加载的运行时更新的运行时构建,无法加载。
任何想法?
Hi guys!,
I'm having a hard time trying to find out what's going on here...
Userinterface started. Delete all files in outputdir (C:\Users\pcv\Desktop\sandcastle)... Copying assemblies from outputdir... Hardcodet.Wpf.GenericTreeView.dll Hardcodet.Wpf.GenericTreeView.xml SVNRepositoryCreator.exe SVNRepositoryCreator.vshost.exe System.Windows.Controls.Input.Toolkit.dll Utils.dll WPFToolkit.dll Scanning: hardcodet.wpf.generictreeview.dll Exception: Could not load file or assembly 'file:///C:\Users\pcv\Desktop\sandcastle\Hardcodet.Wpf.GenericTreeView.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Userinterface closed.
Relevant Data
- Assembly directory: ...\bin\Release
- Solution: WPF Windows Application (VS2010)
- Target framework:.NET Framework 4 Client Profile (and in all its dependencies)
- System: Windows 7 Enterprise
Steps I have already tried:
- If I remove the conflictive .dll (Hardcodet.Wpf.GenericTreeView.dll) from the assembly directory then the exception triggers on SVNRepositoryCreator.exe (the next one).
- I've double checked that target framework in Hardcodet.Wpf.GenericTreeView.dll and Utils.dll is .NET Framework 4 Client Profile.
- I've being poking around in References>>Properties and set Specific Version flag to False (and True). No luck.
- I've signed the assembly. No luck either.
My conclusions
I think the problem might be related to trying to load two different versions of an assembly, but I do not know why.
Thanks in advance,
Pedro
Why the exception?
Exception: Could not load file or assembly 'file:///C:\Users\pcv\Desktop\sandcastle\Hardcodet.Wpf.GenericTreeView.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Any Ideas?
这篇关于SandCastleGUI v1.56:扫描时无法加载文件或程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!