SBarnes wrote:Mike I had considered the embedded reference as an alternative, my only question on this is what would occur if the files then became part of the normal run time, would there be a danger of files being overwritten and then removed that could cause Jiwa not to start, what I guess I am asking is do the files go in the Jiwa program directory or else where at deployment as could there be an issue if two plugins had the same embedded reference?
I don't believe it will cause an issue - it's been a while since I tested that scenario (I remember testing that when we first introduced embedded references).
An embedded reference is deployed to the ProgramData\Jiwa Financials\Jiwa 7\Plugins\... folder - and the assembly is then loaded when the plugin is loaded at logon time - if the assembly is already present in the application domain (for instance, Jiwa has already loaded it) then the .NET assembly resolver (Fusion) will ignore the attempt to load it as it is already present in the current application domain.
I'm fairly confident it won't cause an issue for you.
Mike