how to access DLLs when published using produce single file

38 Views Asked by At

I have a .net 7 console application which I want to distribute as a single file for future updates and automatic updates.

I have used options provided in the VS publish settings as attached image.

enter image description here

It produces single file but I want to access the DLLs and classes inside those DLLs which was accessible when the file was produced using Costura.Fody but not in this new output.

ILSpy shows the list of assemblies but when we use GetManifestResourceNames method, it does not return the list of DLLs in the bundle.

0

There are 0 best solutions below