Getting a
“The Web application at XXXXXXXXXXXX could not be found. Verify that you have typed the URL correctly.”
error when developing a Windows Forms or console application for SharePoint 2010?
Make sure you have x64 as your platform target and .NET 3.5 as your Framework target.