Moslem7026
Moslem7026

Reputation: 3338

embed dll file into exe and release physical file

using Fody/Costura to embedding dll file to single file is ok and all works good . but if i physically put dll file in executable folder and run application , application hook dll file and when i want to edit or delete dll file it throw an exception that this file is use , is it possible to solve this problem ?

--Update using AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; we can handle resoloving library . but if dll file exist in bin filder this method not fired to set loading library

Upvotes: 1

Views: 183

Answers (0)

Related Questions