FileNotFoundException in SharePoint

Message: The Web application at http://localhost could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

Project Type: Windows forms, WPF, Console

Solution: Set the Project Build Properties to Any CPU

 

image

Leave a Reply

Your email address will not be published. Required fields are marked *