System.TypeLoadException 错误信息:Managed native not presently supported这是什么错误? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 没有,在使用typeof报错,google搜不到类似的结果是不是类加载出了问题? IIS里面选错.Net平台时会出现类似的错误,但是忘了。来点详细信息。 编译的时候选择Target Framework是.Net framework 4这个我也检查了 try ... catch 捕获异常打log 吧。 看看客户的环境,是不是缺少相关的DLL ,导致不认识相应的类型 这个是异常信息堆栈2011-11-18 12:56:24Managed native not presently supported. at Inspeed.Restaurant.Presentation.CookRoomClient.ViewModel.LoginWindowViewModel.View_Login(Object args) at Sinnel.Mvvm.Command.RelayCommand.Execute(Object parameter) at System.Windows.Interactivity.InvokeCommandAction.Invoke(Object parameter) at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter) at System.Windows.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs) at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)DLL也核对不少,关键是这种问题是运行一段时间后出现的,不是一开始就有 会不会dll被杀毒软件删除了。你让客户重新安装 framework 试下 应该不是framework 的问题,因为问题程序我带回来了 在我这里也报错 是不是中毒了?exe被篡改了? 果然是其中一个DLL出了问题,可能是拷贝不完全,但是怎么运行一段时间后出问题?搞不懂.微软的错误报的也很莫名其妙...算了,替换之,结贴 求一个正则表达式,替换重复的数字 【初学者求教】将信息显示到richTextBox1时出现“线程间操作无效” 有个问题想不明白 请问如何将C#中的结构体转换为byte[] 有无线点菜餐饮管理系统的源代码吗? 关于弹出窗口最小化问题 SolpartMenu 用过得帮我看看,谢谢啦 DataGrid中,如何获取鼠标右键点击处的行号和列号? 把SQL数据库内的表单内容显示在网页内 C# 控制 WndProc()接收处理消息的频率 (急切求助)如何设置CheckedListBox某个选则项为灰色不可用? 给光盘加密,用加密狗,有什么办法
是不是类加载出了问题?
这个我也检查了
Managed native not presently supported.
at Inspeed.Restaurant.Presentation.CookRoomClient.ViewModel.LoginWindowViewModel.View_Login(Object args)
at Sinnel.Mvvm.Command.RelayCommand.Execute(Object parameter)
at System.Windows.Interactivity.InvokeCommandAction.Invoke(Object parameter)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs)
at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
DLL也核对不少,关键是这种问题是运行一段时间后出现的,不是一开始就有
微软的错误报的也很莫名其妙...
算了,替换之,结贴