Roslyn analyzer - Getting Could not load file or assembly … An attempt was made to load a program with an incorrect format


Bump into this issue while trying to deploy my analyzer to Visual Studio projects and i was wondering what is going on. I guess this is a problem happens across all project. My Visual Studio is running x86 while my build target x64.



D'oh... i know right. :)

The solution?

Right click on your project -> Build -> Platform Target ->  Any CPU

That's it! :)



Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm