破解工具: apktool, ILSpy, reflexil
修改了反编译出来的#的代码后,编译报错:
有关调用实时(JIT)调试而不是此对话框的详细信息, 请参见此消息的结尾。 ************** 异常文本 ************** System.InvalidOperationException: 未找到编译器可执行文件 csc.exe。 在 System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable) 在 Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames) 在 Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources) 在 Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources) 在 Reflexil.Compilation.Compiler.Compile(String code, String[] references, SupportedLanguage language, CompilerProfile profile) 在 Reflexil.Compilation.Compiler.Compile(String code, String[] references, SupportedLanguage language, CompilerProfile profile) 在 Reflexil.Forms.CodeForm.Compile() 在 System.Windows.Forms.Control.OnClick(EventArgs e) 在 System.Windows.Forms.Button.OnClick(EventArgs e) 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 在 System.Windows.Forms.Control.WndProc(Message& m) 在 System.Windows.Forms.ButtonBase.WndProc(Message& m) 在 System.Windows.Forms.Button.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** 已加载的程序集 ************** mscorlib 程序集版本:4.0.0.0 Win32 版本:4.7.3416.0 built by: NET472REL1LAST_B 基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- ILSpy 程序集版本:5.0.0.4793 Win32 版本:5.0.0.4793 基本代码:file:///C:/ILSpy_binaries_5/ILSpy.exe ---------------------------------------- PresentationFramework 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll ---------------------------------------- WindowsBase 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- System.Core 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System 程序集版本:4.0.0.0 Win32 版本:4.7.3416.0 built by: NET472REL1LAST_B 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- PresentationCore 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- System.Xaml 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll ---------------------------------------- Microsoft.VisualStudio.Composition 程序集版本:15.5.0.0 Win32 版本:15.5.23.32629 基本代码:file:///C:/ILSpy_binaries_5/Microsoft.VisualStudio.Composition.DLL ---------------------------------------- System.Collections.Immutable 程序集版本:1.2.3.0 Win32 版本:4.6.26515.06 基本代码:file:///C:/ILSpy_binaries_5/System.Collections.Immutable.DLL ---------------------------------------- netstandard 程序集版本:2.0.0.0 Win32 版本:4.7.3190.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll ---------------------------------------- Microsoft.VisualStudio.Validation 程序集版本:15.0.0.0 Win32 版本:15.0.82.50463 基本代码:file:///C:/ILSpy_binaries_5/Microsoft.VisualStudio.Validation.DLL ---------------------------------------- System.Reflection.Metadata 程序集版本:1.4.3.0 Win32 版本:4.6.26515.06 基本代码:file:///C:/ILSpy_binaries_5/System.Reflection.Metadata.DLL ---------------------------------------- System.Configuration 程序集版本:4.0.0.0 Win32 版本:4.7.3324.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Xml.Linq 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll ---------------------------------------- ILSpy.resources 程序集版本:5.0.0.4793 Win32 版本:5.0.0.4793 基本代码:file:///C:/ILSpy_binaries_5/zh-Hans/ILSpy.resources.DLL ---------------------------------------- ILSpy.BamlDecompiler.Plugin 程序集版本:1.0.0.0 Win32 版本:1.0.0.0 基本代码:file:///C:/ILSpy_binaries_5/ILSpy.BamlDecompiler.Plugin.DLL ---------------------------------------- System.Threading.Tasks.Dataflow 程序集版本:4.5.24.0 Win32 版本:4.5.24.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks.Dataflow/v4.0_4.5.24.0__b03f5f7f11d50a3a/System.Threading.Tasks.Dataflow.dll ---------------------------------------- System.Runtime 程序集版本:4.1.2.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Runtime.DLL ---------------------------------------- System.Threading.Tasks 程序集版本:4.0.11.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Threading.Tasks.DLL ---------------------------------------- System.Diagnostics.Tracing 程序集版本:4.2.0.0 Win32 版本:4.6.26011.01 基本代码:file:///C:/ILSpy_binaries_5/System.Diagnostics.Tracing.DLL ---------------------------------------- System.Collections 程序集版本:4.0.11.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Collections.DLL ---------------------------------------- System.Collections.Concurrent 程序集版本:4.0.11.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Collections.Concurrent.DLL ---------------------------------------- System.Threading 程序集版本:4.0.11.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Threading.DLL ---------------------------------------- ICSharpCode.Decompiler 程序集版本:5.0.0.4793 Win32 版本:5.0.0.4793 基本代码:file:///C:/ILSpy_binaries_5/ICSharpCode.Decompiler.DLL ---------------------------------------- ICSharpCode.TreeView 程序集版本:4.2.0.8752 Win32 版本:4.2.0.8752 基本代码:file:///C:/ILSpy_binaries_5/ICSharpCode.TreeView.DLL ---------------------------------------- System.Linq 程序集版本:4.1.2.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Linq.DLL ---------------------------------------- System.ComponentModel.Composition 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll ---------------------------------------- System.ValueTuple 程序集版本:4.0.2.0 Win32 版本:4.6.26011.01 基本代码:file:///C:/ILSpy_binaries_5/System.ValueTuple.DLL ---------------------------------------- Reflexil.ILSpy.Plugin 程序集版本:2.3.0.0 Win32 版本:2.3.0.0 基本代码:file:///C:/ILSpy_binaries_5/Reflexil.ILSpy.Plugin.DLL ---------------------------------------- System.Windows.Forms 程序集版本:4.0.0.0 Win32 版本:4.7.3324.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ICSharpCode.AvalonEdit 程序集版本:5.0.3.0 Win32 版本:5.0.3.0 基本代码:file:///C:/ILSpy_binaries_5/ICSharpCode.AvalonEdit.DLL ---------------------------------------- PresentationFramework.Aero2 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll ---------------------------------------- PresentationFramework-SystemXml 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll ---------------------------------------- PresentationFramework-SystemXmlLinq 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll ---------------------------------------- UIAutomationTypes 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll ---------------------------------------- PresentationFramework.resources 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationFramework.resources.dll ---------------------------------------- PresentationCore.resources 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationCore.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationCore.resources.dll ---------------------------------------- UIAutomationProvider 程序集版本:4.0.0.0 Win32 版本:4.7.3362.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll ---------------------------------------- MetadataViewProxies_25c20f76-ea85-46a9-bbc6-27553908fc88 程序集版本:0.0.0.0 Win32 版本:15.5.23.32629 基本代码:file:///C:/ILSpy_binaries_5/Microsoft.VisualStudio.Composition.dll ---------------------------------------- System.Windows.Forms.resources 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- Accessibility 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Resources.ResourceManager 程序集版本:4.0.1.0 Win32 版本:4.6.25714.01 基本代码:file:///C:/ILSpy_binaries_5/System.Resources.ResourceManager.DLL ---------------------------------------- System.xml.resources 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Xml.resources.dll ---------------------------------------- Windows.UI 程序集版本:255.255.255.255 Win32 版本:10.0.10011.16384 基本代码:file:///C:/Windows/system32/WinMetadata/Windows.UI.winmd ---------------------------------------- Windows.Foundation 程序集版本:255.255.255.255 Win32 版本:10.0.10011.16384 基本代码:file:///C:/Windows/system32/WinMetadata/Windows.Foundation.winmd ---------------------------------------- System.Runtime.InteropServices.WindowsRuntime 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.WindowsRuntime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.WindowsRuntime.dll ---------------------------------------- System.Runtime.WindowsRuntime 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.WindowsRuntime/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.WindowsRuntime.dll ---------------------------------------- WindowsFormsIntegration 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll ---------------------------------------- mscorlib.resources 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- System.Security 程序集版本:4.0.0.0 Win32 版本:4.7.3190.0 built by: NET472REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll ---------------------------------------- ************** JIT 调试 ************** 要启用实时(JIT)调试, 该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置 jitDebugging 值。 编译应用程序时还必须启用 调试。 例如: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> 启用 JIT 调试后,任何未经处理的异常 都将被发送到在此计算机上注册的 JIT 调试程序, 而不是由此对话框处理。
未完待续