1

我们无法在 VS 2010 IDE 中查看屏幕的设计器,它总是抛出异常。异常的调用栈如下

无法加载文件或程序集 'xxxxx',版本 = 2.1.8.0,文化 = 中性,PublicKeyToken = dba69d426c69de49' 或其依赖项之一。该系统找不到指定的文件。

我们最近将屏幕项目从 VS 2008 移植到 VS 2010。我们从未在 VS 2008 IDE 中遇到设计器问题。

屏幕引用的程序集 'xxxxx' 版本 2.1.8.0 存在于项目的引用路径中,并且程序集已签名(具有强名称)。

我们在 wpf 屏幕中也面临同样的问题,调用堆栈如下所示。

System.Reflection.TargetInvocationException 调用的目标已引发异常。

在 System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo 方法,对象目标,Object[] 参数,SignatureStruct& sig,MethodAttributes methodAttributes,RuntimeType typeOwner)

在 System.RuntimeMethodHandle.InvokeMethodFast>(IRuntimeMethodInfo 方法,对象目标,对象 [] 参数,签名 sig,MethodAttributes 方法属性,RuntimeType typeOwner)

在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj,BindingFlags invokeAttr,Binder binder,Object[] 参数,CultureInfo 文化,布尔 skipVisibilityChecks)在 System.Delegate.DynamicInvokeImpl(Object[] args)

在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(委托回调,对象 args,Int32 numArgs)

在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象源,委托方法,对象 args,Int32 numArgs,委托 catchHandler)*

System.IO.FileNotFoundException 无法加载文件或程序集 'xxxxx',版本 = 2.1.8.0,文化 = 中性,PublicKeyToken = 04c8ff473e9eec03' 或其依赖项之一。该系统找不到指定的文件。

在PreventiveMaintenance.ToolTipConverter.Convert(对象值,类型targetType,对象参数,CultureInfo 文化)

在 System.Windows.Data.BindingExpression.TransferValue(对象 newValue,布尔 isASubPropertyChange)

在 System.Windows.Data.BindingExpression.Activate(对象项)

在 System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt 尝试)

atSystem.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(布尔最后机会)

在 MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)

在 MS.Internal.Data.DataBindEngine.Run(对象 arg)

在 MS.Internal.Data.DataBindEngine.OnLayoutUpdated(对象发送者,EventArgs e)

在 System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

在 System.Windows.ContextLayoutManager.UpdateLayout()

在 System.Windows.UIElement.UpdateLayout()

在 System.Windows.Interop.HwndSource.SetLayoutSize()

在 System.Windows.Interop.HwndSource.set_RootVisualInternal(视觉值)

在 System.Windows.Interop.HwndSource.set_RootVisual(视觉值)

在 MS.Internal.DeferredHwndSource.ProcessQueue(对象发送者,EventArgs e)

4

0 回答 0