Compiling vgui controls.lib

From Valve Developer Community

The following is a short guide to successfully compiling your vgui2 modifications to lib\public\vgui_controls.lib.

return AnimationController::RelativeAlignment::a_northwest;
return a_northwest;

Open src\vgui2\controls\vgui_controls.vcproj in your MSVC++ .NET and compile it with the Release configuration.

The library should be copied and overwrite lib\public\vgui_controls.lib once the compilation is complete.

Image:note.png Note: The client project requires a rebuild once the new vgui_controls.lib is made to relink it.