I know this can be very simple for of us but to may be helpful for beginners who trying to connect PI Server from another machine where visual studio installed.

Follow this video: Introduction to AF SDK

Now, Installed PI AF Client on the computer where visual studio is installed. Now run the project and you can found your PI Server available there.