无法加载文件或程序集'Microsoft.Dynamics.Framework.UI.WinForms.Controls,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。系统不能...... [英] Could not load file or assembly 'Microsoft.Dynamics.Framework.UI.WinForms.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot...

查看:132
本文介绍了无法加载文件或程序集'Microsoft.Dynamics.Framework.UI.WinForms.Controls,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。系统不能......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



当我尝试打开VB.Net表单时,我遇到了以下错误。我正在使用Visual Studio 2008,下面是调用堆栈。我请你告诉我如何避免或解决这个错误,这将是非常好的,感谢你的帮助。



(无法加载文件或汇编''微软.Dynamics.Framework.UI.WinForms.Controls,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35''或其中一个依赖项。系统找不到指定的文件。)



调用堆栈



在System.Signature._GetSignature(SignatureStruct& signature,Void * pCorSig,Int32 cCorSig,IntPtr fieldHandle,IntPtr methodHandle,IntPtr在System.Signature.GetSignature(SignatureStruct& signature,Void * pCorSig,Int32 cCorSig,RuntimeFieldHandle fieldHandle,RuntimeMethodHandle methodHandle,RuntimeTypeHandle声明TypeHandle)处理
在System.Signature处获取
。 .ctor(RuntimeMethodHandle methodHandle,RuntimeTypeHandle声明TypeHandle)

在System.Reflection.RuntimeMethodInfo.get_Signature()

在System。在System.Reflection.RuntimeMethodInfo.GetParametersNoCopy()

在System.Reflection.RuntimePropertyInfo.GetIndexParameters()

在System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetProperties(类型类型)

在System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetProperties()

在System.ComponentModel.TypeDescriptor.TypeDescriptionNode。 DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties()

at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties()

at System。 ComponentModel.TypeDescriptor.GetProperties(Type componentType)

在System.Windows.Forms.Design.FormDocumentDesigner.Initialize(IComponent组件)

在System.ComponentModel.Design.DesignerHost。 AddToContainerPostProcess(IComponent组件,字符串n ame,IContainer containerToAddTo)

at System.ComponentModel.Design.DesignerHost.Add(IComponent component,String name)

at System.ComponentModel.Design.DesignerHost.System.ComponentModel .Design.IDesignerHost.CreateComponent(Type componentType,String name)

at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type,ICollection arguments,String name,Boolean addToContainer)

在System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type,ICollection arguments,String name,Boolean addToContainer)

at System。 ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager,CodeTypeDeclaration declaration)

在System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents。 OnLoadCompleted(Int32 fReload)

Hi There,

I am getting the follwoing error when I am trying to open up my VB.Net form. I am using Visual Studio 2008 and also below is the call stack. I fyou please could let me know how to avoid or solve this error that would be great, appreciate all your help.

(Could not load file or assembly ''Microsoft.Dynamics.Framework.UI.WinForms.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'' or one of its dependencies. The system cannot find the file specified. )

Call Stack

at System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)
at System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
at System.Signature..ctor(RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
at System.Reflection.RuntimeMethodInfo.get_Signature()
at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()
at System.Reflection.RuntimeMethodInfo.GetParametersNoCopy()
at System.Reflection.RuntimePropertyInfo.GetIndexParameters()
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetProperties(Type type)
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetProperties()
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties()
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties()
at System.ComponentModel.TypeDescriptor.GetProperties(Type componentType)
at System.Windows.Forms.Design.FormDocumentDesigner.Initialize(IComponent component)
at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

推荐答案

确定我自己解决了这个问题,我必须为Microsoft Dynamics安装Visual Studio工具,这在内部使用GP Addin配置Visual Studio .net要创建的表单。一旦完成,那么一切都会好起来的。



Farman
ok Solved it myself, I had to install the Visual Studio tools for Microsoft Dynamics, this internally configures Visual Studio .net with the GP Addin forms to create. Once this is done then all will work good.

Farman


这篇关于无法加载文件或程序集'Microsoft.Dynamics.Framework.UI.WinForms.Controls,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。系统不能......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆