Decompilation problem :

1. routing problem : If Path.Combine, If there is a mistake, just correct it

2. Resource file issues :

stay Reflector Next , For the resource management window on the left Resources Resource files in the folder , Right click , Choose "Save as" Just save the options .

example : For... In the project folder TryAssemb.Form1.resx, First, change to Form1.resx Then move to TryAssemb Inside the directory

3. Open to form " view designer ", The following error is found :

The way to modify it is for all System.Windows.Forms. The control in the namespace needs the declaration of the whole namespace ,

For example, inside base.AutoScaleMode = AutoScaleMode.Font; It's going to be changed to base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

and TextBox textBox1; It's going to change to private System.Windows.Forms.TextBox textBox1; such VS You can recognize that this control is to be drawn on Form above

4. Delegate and callback problems

It's usually reduced to add_Xxx(MethodsName) Method , Need to be changed to += MethodsName

5. The namespace problem

If you need to switch to IDE Form designer , Without making mistakes , Then it needs to be in *.cs Add, for example System.Windows.Forms Namespace prefix for .

6. Form designer recognition problem

You need to put the following code
ComponentResourceManager manager = new ComponentResourceManager(typeof(ClassName));
Replace with
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ClassName));
The form designer can recognize it normally .

recovery Reflector Decompiled resource file method more related articles

  1. Android Decompile ( Two ) Decompilation of XML Resource file

    Android Decompile ( Two ) Decompilation of XML Resource file [ Catalog ] 1. Tools 2. Decompile step 3. recompile APK 4. example 5. loading X skill 6. Learning summary 1. Tools 1). decompiler   apktool http ...

  2. Apktool Decompile apk Resource file

    Android Development process , How to view packaged APK Inside xml Well ,google I found apktool This tool , apktool The project has now migrated to github:apktool  The latest version 2.2.2, Such as ...

  3. Android Decompile to get the resource file -android Learning journey (69)

    Sometimes you see beautiful layouts , I'll think about how other people do it , Think about it , So it's necessary to decompile at this time . Tools to use apktool.bat and aapt.exe and apktool.jar( Want the latest version ) Download the first two ...

  4. Reflector Decompile WinForm Program rebuild project resources and local resources

    Tools :vs2012..NET Reflector8.1.0.35 The problem to be solved : adopt Reflector Decompilation generated code can be compiled through the form and display the local resources and project resources picture One . Test project The two pictures are placed separately in the item ...

  5. winform After code decompilation, picture and other resource file recovery solution

    use Reflector Tool decompiled winform Code , Image and other resource files cannot be decompiled successfully . Here's a stupid solution . First of all, we need to understand several ways of adding image resources to the project , And where they are . commonly winform ...

  6. Reflector Decompile .NET File after repair

    The decompiled project file uses VS2010 After opening , When you open the form, a series of error prompts appear : Case one : “ The designer cannot process the second 152 Lines of code : base.AutoScaleMode = AutoScaleMode. ...

  7. Reflector Decompile .NET File after repair 【 turn 】

    The decompiled project file uses VS2010 After opening , When you open the form, a series of error prompts appear : Case one : “ The designer cannot process the second 152 Lines of code : base.AutoScaleMode = AutoScaleMode. ...

  8. Reflector Decompile .NET File after repair

    The decompiled project file uses VS2010 After opening , When you open the form, a series of error prompts appear : Case one : “ The designer cannot process the second 152 Lines of code : base.AutoScaleMode = AutoScaleMode. ...

  9. C# Revision in China Dll file ( Recompile after decompile )

    Dll After file generation , Without source code , And we have to change the content   You can use Microsoft's own ildasm and ilasm Program   First use ildasm take dll Decompile the file to il file  ildasm Test.dll /out=Test.il  ...

Random recommendation

  1. Source Insight 3.X Tag plugin v1.0 Release

    Source Insight It can be said that it is a necessary development for programmers / Read the source code tool , There is a fly in the ointment SI No tab bar , Switching between multiple source codes is very inconvenient , So I wrote this work in my spare time sihook: Tag plugin ; But strictly speaking si ...

  2. io Multiplexing ,select, note

    Code , It's from the king's blog ,(http://www.cnblogs.com/alex3714/) I added some notes myself . 1 2 3 #_*_coding:utf-8_*_ 4 5 __author__ ...

  3. 【HTML5】Server-Sent Server sends events

    Server-Sent event - One way messaging Server-Sent Events are web pages that automatically get updates from the server . It could have been done before , The premise is that the web page has to ask if there are any updates available . Send events through the server , Renewability ...

  4. Under pseudo distribution hadoop Simple configuration

    Today, I've tried pseudo distributed hadoop Deploy , To sum up briefly First we need to download hadoop Compressed package file for :http://hadoop.apache.org/releases.html Here is hadoo ...

  5. java take GBK Encode the file into UTF-8 code

    need commons-io-2.0.1.jar public class Test { public static void main(String args[]) throws IOException ...

  6. Java Get the first day of a month and a year

    Java Get the first day of a month and a year 1. Design source code FisrtDayOfMonth.java: /** * @Title:FisrtDayOfMonth.java * @Package:com.you.fre ...

  7. Loj #3089. 「BJOI2019」 Arcane wand

    Loj #3089. 「BJOI2019」 Arcane wand Title Description Bezorath The mainland's war against the invasion of the Legion has entered a stalemate , Generations have lived in Bezorath The elves of this continent began to search for the legacy of the ancient gods ...

  8. first Python Program

    ## The goal is * first `HelloPython` Program * `Python 2.x` And `3​​.x` Version introduction * perform `Python` Three ways of procedure * Interpreter —— `python` / ` ...

  9. Confluo: Distributed Monitoring and Diagnosis Stack for High-speed Networks

    https://rise.cs.berkeley.edu/blog/confluo-millisecond-level-queries-on-large-scale-streaming-data/ht ...

  10. ASP.NET One of the ways to transfer values between pages Server.Transfer( Personal arrangement )

    Server.Transfer This method is a little bit more complicated than the previous one , But it's especially useful in value passing between pages , Using this method, you can access the exposed values in the form of object properties on another page , Yes, of course , Using this method , You need to write extra ...