How to install libxml2 in Visual Studio on Windows

After manually trying to get libxml2 to run for an hour, this solution took two minutes…