Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the linker and mini-deployment work?

Linker mini-deployment
0
Posted

How does the linker and mini-deployment work?

0

.NET programs are distributed in unit of assemblies, one assembly often refers to a few other assemblies. Our linker first loads the entry assembly, finds its entry point for an EXE file, or some public methods for a DLL file, it then recursively follows the calling graph of the MSIL code to link all required code together. The code might reside in the same assembly as the entry module, or in some referenced assemblies. During the walk, relevant classes and other entities are marked. By the end, a new assembly that contains all required bits of code is created. The entry point methods can be configured using our GUI tool. The mini-deployment tool uses fusion APIs to find out all of the dependent assemblies and modules, including those in the GAC (Global Assembly Cache) and those in the application directory, then copy them into the deployment folder. The deployment folder maintains a directory hierarchy that emulates the Microsoft .NET installation; it contains its own GAC, its own reg

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123