I haven't specifically use VS before, but I have used gcc. It's all about finding the correct libraries. All of the CVI libraries should be easy enough to find, and then you just need to make sure that you tell Visual Studio to include the right search paths so that it can find the function definitions for your code.
Chris
Certified LabVIEW Architect
Certified TestStand Architect