N.Las
N.Las

Reputation: 19

Build procedure hangs in release mode in Visual Studio 2019

I have a commercial software with several projects. The build procedure in visual studio just hangs when it reaches the file shown in the picture. I have not changed that file since the last successful run, the code runs on debug mode and of course I receive no error in release mode.

enter image description here

I have tried to clean and rebuild all the separate projects and it always stops on that file. Do you have any suggestions I should try ?

edit: I found the problem and posting the solution in case someone has a similar problem. In my case the problem was not on the builder but on the linker that followed. The way I constructed the include files made my project too big and the linking time was taking for ever(over 11 hours). I had to manually change the host-linker to 64 bits (for some reason the default in my system was the 32 bit) and rearrange the includes and the problem was solved.

I had a similar problem with this guy https://developercommunity.visualstudio.com/content/problem/109963/linker-with-incremental-and-trackerexe-extremly-sl.html

Upvotes: 1

Views: 1746

Answers (1)

ouflak
ouflak

Reputation: 2514

Just quoting an answer from the question itself as it wasn't obvious to me that there was a solution when I first scrolled down.

...The problem and posting the solution in case someone has a similar problem. In my case the problem was not on the builder but on the linker that followed. The way I constructed the include files made my project too big and the linking time was taking for ever (over 11 hours). I had to manually change the host-linker to 64 bits (for some reason the default in my system was the 32 bit) and rearrange the includes and the problem was solved.

Upvotes: 0

Related Questions