This site is being deprecated.
Please see the official X‑Plane Support page for help.
Had the same problem last year, when started developing a plugin for my home cockpit. Then came across this movie https://vimeo.com/8499889, which explains the whole process, including configuration of MS Visual Studio, thoroughly and clearly.
Just a 'follow me step by step' procedure.
Hope that helps.
This site is no longer being actively maintained.