I have some code that compiled without an error in debug mode but when I tried to compile in release code, this is what I have:
2>someSolution.lib(someClass.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 2>fatal error C1047: The object or library file '..\release\someSolution.lib' was created with an older compiler than other objects; rebuild old objects and libraries
I have tried to use Clean Solution and Rebuild solution without any luck. I have even tried to delete the .lib file in Windows to force it to be rebuilt.
Any help? Thanks!