Z
Z
Zakharov Alexander2018-04-17 02:16:28
.NET
Zakharov Alexander, 2018-04-17 02:16:28

dot net. strongly named assembly. Is it possible to Load such an assembly from a resource?

Hello.
There is a dll that has the standalone property. Previously, the necessary assemblies were loaded into its resources, when loaded into the program (acad), it hung the LoadAssembly event and loaded the missing assemblies from the resources. Now the situation has changed and some resources have become strongly named assembly. Is it possible to load such assemblies from resources, or do you still need to carry such assemblies with you? (if the files are in the same directory as the main dll, then there are no errors in loading, everything works)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zakharov Alexander, 2018-12-25
@AlexZaharow

As a result, it turned out to be the same problem as in How to catch a place in the program that leads to the loading of a dll? . All initialization and program launch functions must be performed after installing the dll preload function from resources. The situation is one to one as per the link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question