The first step, to build a library
Note the .NET Framework class library is the
second step, writing a few wrapper classes
are divided into non-static class and static class, these two are not the same way to use
a non-static class
static class
third Step, generate xml for project settings,
this is for your dll to have comments when decompiling.
Step 4, use
to copy both dll and xml (dll and xml should be in the same directory) , and add a reference, when using , The static class does not need new
step 5, decompile to check the effect,
just drag the dll directly to the ILSpy tool
.NET package class library into DLL with comments, use and decompile to see the effect
Guess you like
Origin blog.csdn.net/q1923408717/article/details/115248266
Recommended
Ranking