Showing posts with label linking. Show all posts
Showing posts with label linking. Show all posts

Monday, 9 February 2026

The Return of C++ Tools in Visual Studio

Today - C# programmers must embrace C++ development tools. There is No Alternative.  C++ tools container the valuable link.exe to create standalone .exe files.  Publishing .NET programs as standalone EXEs needing no runtime need this toolkit. Install it! Give up that 1.5 GB of space for some C++ tooling!

Wednesday, 29 October 2008

Incremental Linking

Many a linker and build problem can be fixed by simply doing a build clean and repeating the compile-link-manifest cycle in MSVC.

But I recently found a problem in managed DLL compilation where object files were getting rebuilt but not correctly even after clean builds.

I traced the problem to the linker not refreshing some new code. Turning off incremental linking fixed this right away. I knew MSVC was using this heavily since my faulty builds were very quick and slowed down (but were 100% correct) when built without incremental linking.