I have "C# custom actions" that in works but fails in certain scenarios, I will try to explain.
"C# custom actions" are build using WIX tool kit. Related *.CA.dll. contains multiple functions that I use.
The following problems occurs:
1.When I change (update) implementation of some custom action, rebuild *.CA.dll. Build installer again, but installer somehow is using old the old *.CA.dll (I know this by looking at logs, it is calling old implementation, meaning old DLL)
2.When I change (update) implementation of some custom action and rename that action, rebuild *.CA.dll, than this action is available in AI with new name, I can select it. I build installer again, and when executing installer it fails on that renamed method claiming "there is a problem with ....please contact..."
So This is just rename (one letter added at the end of method), call FAILS.
3. When I take this method and put it in another DLL, it works.
Can you please tell me, what the problem is?
Please note, that I'm deleting AI cache and previous installation before every new build.
But, it seems like there is some caching still happens, I do not know if this is true.
Can you please respond, this is very urgent for us.
FOLLOW US
Get the latest news in Application Packaging