What are the scatter files in a .NET assembly

I compile the .NET application and in the diagnostic release MSBuildI see references to scatter files (from the referenced assembly). Finding some information around the firewalls did not bring anything useful. Only the link I found was this in Microsoft.Build.Tasks.

My question is what does this function do? Where can I "see" this?

+4
source share
1 answer

As the link is mentioned, it is reserved for internal use. However, I could not find anything that could use it. From the source code, it seems that scatter files are just a list of arbitrary files that serve as additional dependencies for assemblies. When copying these assemblies (for example, to the output directory of the project created when the CopyLocal flag is set), the scatter files will also be copied.

+1
source

Source: https://habr.com/ru/post/1667060/


All Articles