Visual Studio not seeing Sharepoint
Okay, I have a strange problem here that I am at a loss for solving. I started a new job to be a sharepoint "guy" for this small business. So far, most of what I've needed to do hasn't required Visual studio and development for sharepoint. However, they want me to create a specific custom login page for a few sites.
So they have a server with Windows server 2008 running and sharepoint 2010 moss. Visual studio 2010 is also installed. They have several "sites" running for various clients they are hosting sharepoint for at different ports. All the sites seem to run with no problem.
So I go into Visual Studio, start a new empty sharepoint project, and attempt to validate that I'm using Sharepoint on the localhost. It errors out saying sharepoint is not running. WTF? I pull up a browser and can pull up localhost no problem. I can ping it. I check the apppools and everything is running fine. IIS manager shows every working fine as well.
So I figure, okay, I'll use one of the other ported sites on the server. Same problem. Sharepoint isn't found by Visual Studio for validation when starting a new project. I can click finish and compile a sharepoint project no problem, so I know all the dll's are being found and used correctly. But I can't deploy anything through visual studio. So at the moment I can just build the WSP and deploy through central admin, but it's a bit more of a pain in the ass for that, and makes debugging a massive pain.
Anyone have any idea what the hell is the problem here? I'm at a complete loss.
Humble Pie UK/US Rock Band
Rig: i7 2600K @ 4.4 Ghz, 32GB DDR3 2100, 2x GTX 970 SLI, Rocketfish full tower, Asrock P67 Fatality, OCZ 1250w Gold, Crucial 256GB ssd, 3TB Toshiba, LG Bluray burner