How can I avoid exceeding the internal ILK size limit in visual studio?

Building a large project in Visual Studio 2005, I get an error in incremental binding:

LINK: fatal error LNK1210: internal ILK size limit exceeded; reference c / INCREMENTAL: NO

Do you know any options other than avoiding incremental binding? In particular, are there methods that will reduce the size of internal ILK data?

+3
source share
3 answers

Try adding the / LTCG flag to the linker

+1
source

/ LTCG is not valid for use with / INCREMENTAL according to MSDN.

http://msdn.microsoft.com/en-us/library/xbf3tbeh(v=vs.80).aspx

+1

first end all useless processes (firefox, he likes RAM), close VS and wait a while, restart the IDE, only the IDE and try to create. did not help - try to release the assembly. still error - edit boot.ini, the specified limit.

+1
source

Source: https://habr.com/ru/post/1767558/


All Articles