Newest servers like canary/Atlas (TFS 1.7+) compile in Visual Studio, but older like Nekiro1.5, TFS 1.4 etc. will generate a lot of errors in Visual Studio and you will have to fix them, which may take hours :(
It's much easier to compile on Linux. If you have 16+ GB RAM, you should use 'Docker...