1.DataOutputWPF 在显示norlib.Basic.UserConfigControl时 抛出异常 xmlparsingException : WPF Set connectionId threw an exception

此时应该在 调试窗口Local中输入: $exception  可以查看其中的 InnerException

2. 发现错误是:

+ _innerException
{"[A]norlib.Controls.UserConfigControl cannot be cast to [B]norlib.Controls.UserConfigControl. Type A originates from 'norlib.Basic, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' at location 'E:\\Projects\\XYX\\XYX.Client\\output\\debug.x86\\DataProvider\\norlib.Basic.dll'.
Type B originates from 'norlib.Basic, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'E:\\Projects\\XYX\\XYX.Client\\output\\debug.x86\\DataOutputWPF\\norlib.Basic.dll'."}
System.Exception {System.InvalidCastException}



错误由于DataOutputWPF加入了多个norlib.Basic,造成了冲突和问题,从referece中要求不复制到本地后,只留下一个norlib.Basic,问题解决

05-11 17:57