fatal error LNK1123 for Windows Form Application

Sunday, May 11, 2014

I use VS2010. When I made a newProject -> Console application in visual studio 2010 I faced with this error: fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt. And I understand how to fix this problem in this Question.

but when I proceed to build a Windows Form Application, despite I set the Enable Incremental Linking -> "No (/INCREMENTAL:NO)" but this error (LINK1123) is appear. I really confused because This trick work properly for other application in VS that runs with Consul application mode. notice before I installed VS2010 I install VS2012 and again replace it by 2010 version.