I am developing a Winform application in c# that uses tons of assemblies which is very slow upon first time the user open the forms that use these assemblies, is there a way to load all of these assemblies into memory when the application is starting up so the users don't have wait for several seconds.
Asked
Active
Viewed 1,168 times
1 Answers
1
You can use for example
Assembly.LoadFrom(path)
This is sample from MSDN. In my project I use XML file as a list of assemblies to load and than I search specific folders for dll files and try to load them (they can be native dll's so I can't load it).

Klaudiusz bryjamus
- 326
- 3
- 12