ironpython是什么意思_部类“IronPython.Runtime.Binding.PythonBinder”的派生方法“GetTypeName”不能减少访问。这什么意思啊...

当前位置:我的异常网» C# » 部类“IronPython.Runtime.Binding.PythonBinder”

部类“IronPython.Runtime.Binding.PythonBinder”的派生方法“GetTypeName”不能减少访问。这什么意思啊

www.MyException.Cn 网友分享于:2014-10-26 浏览:0次

类型“IronPython.Runtime.Binding.PythonBinder”的派生方法“GetTypeName”不能减少访问。这什么意思啊!

未处理 Microsoft.Scripting.InvalidImplementationException

HResult=-2146233088

Message=Type 'IronPython.Runtime.PythonContext' doesn't provide a suitable public constructor or its implementation is faulty: 程序集“IronPython, Version=2.6.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中的类型“IronPython.Runtime.Binding.PythonBinder”的派生方法“GetTypeName”不能减少访问。

Source=Microsoft.Scripting

StackTrace:

在 Microsoft.Scripting.Utils.ReflectionUtils.CreateInstance[T](Type actualType, Object[] args)

在 Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext(ScriptDomainManager domainManager, Boolean& alreadyLoaded)

在 Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext(ScriptDomainManager manager, LanguageConfiguration config)

在 Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage(ScriptDomainManager manager, String str, Boolean isExtension, LanguageContext& language)

在 Microsoft.Scripting.Runtime.ScriptDomainManager.TryGetLanguage(String languageName, LanguageContext& language)

在 Microsoft.Scripting.Hosting.ScriptRuntime.TryGetEngine(String languageName, ScriptEngine& engine)

在 Microsoft.Scripting.Hosting.ScriptRuntime.GetEngine(String languageName)

在 DLRHost.Window1.button1_Click(Object sender, RoutedEventArgs e) 位置 D:\《C#高级编程(第7版)源代码》\502259 Code Ch12\DLRHost\DLRHost\Window1.xaml.cs:行号 43

在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

在 System.Windows.Controls.Primitives.ButtonBase.OnClick()

在 System.Windows.Controls.Button.OnClick()

在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

在 System.Windows.Input.InputManager.ProcessStagingArea()

在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

在 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

在 System.Windows.Threading.Dispatcher.Run()

在 System.Windows.Application.RunDispatcher(Object ignore)

在 System.Windows.Application.RunInternal(Window window)

在 System.Windows.Application.Run(Window window)

在 System.Windows.Application.Run()

在 DLRHost.App.Main() 位置 D:\《C#高级编程(第7版)源代码》\502259 Code Ch12\DLRHost\DLRHost\obj\x86\Debug\App.g.cs:行号 0

在 System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)

在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)

在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()

在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)

在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

在 System.Threading.ThreadHelper.ThreadStart()

InnerException: System.TypeLoadException

HResult=-2146233054

Message=程序集“IronPython, Version=2.6.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中的类型“IronPython.Runtime.Binding.PythonBinder”的派生方法“GetTypeName”不能减少访问。

Source=IronPython

TypeName=IronPython.Runtime.Binding.PythonBinder

StackTrace:

在 IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, IDictionary`2 options)

InnerException:

------解决思路----------------------

自己能解决是最好的了!支持

文章评论

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值