I am trying to upgrade Unity
to version (2.1.505.2), but when I run the application I get the following FileLoadException
Could
Overview: this was someone's code I had to fix a bug in code, so they provided me a zip file of application.
I had no Idea what was happening and why always for the first time my code was running and after restart the application (post any changes) it start throwing Exception. there are many possible solution provided in the forums and i was blaming my code & database and then started undo each step i did. But that doesn't help
Solution: As multiple troubleshoot can't fix this but when I restarted investigate each n every thing from beaning to find the actual reason which is causing the exception, I found is
For every new build, my application's bin folder deleting the dlls
then the solution is to paste these dlls into applications bin folder and rebuild the code (refer screenshot)
result: all sh*t gone.