FileNotFoundException in GetSignature()

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives


When working with Workflow Manager, you might run into some none deterministic compiler errors.
One of these errors sounds like:

FileNotFoundException
Could not load file or assembly…
at GetSignature()


This is the screenshot of the error generated in Workflow Designer

image

The problem here is that named assembly is on correct location and it should be loaded. And this error message has nothing to do with signature. If one of assemblies referenced by you custom code activity is explicitly build for x64 platform, designer will not be able to load it. Unfortunately this is not obvious.

Be sure that all assemblies in a chain starting from code activity are build for Any-CPU. Note that VS designer is x86. Once designer tries to load assembly and it fails, the whole project will remain loaded and you cannot start build again, because project output assembly is locked.


Posted Jul 28 2015, 05:32 PM by Damir Dobric
developers.de is a .Net Community Blog powered by daenet GmbH.