c# - Tool to find all methods and classes used from a specific assembly in .NET? -
i have xamarin.ios project references dll created bindings project. bindings project rather big , "hacky". want recreate bindings project time start minimum amount of methods , classes needed, instead of binding , fight way through typos , other issues. incrementally want add new stuff want have in use. there way in visual studio (or tool) scans solution , prints out all:
- classes used referenced assembly
- all methods , properties used these classes?
that's managed linker :-) removes that's not being used.
so could:
a) enable link assemblies (or @ least make sure binding.dll linked when build against application);
b) use tool show inside binding.dll
e.g. il spy on windows or xamarin's studio assembly browser
then fight way through typos , other issues
i strongly suggest (now or later) create binding unit test project. find 99% of typos , other common mistakes in bindings. you'll save lot of time , make updating bindings lot easier.
Comments
Post a Comment