If it's a new project, try creating the WPF project in a different location. If it's an existing project, try moving the project to a different location.

If you've downloaded the existing project as a zipped file, right click on the file, choose properties and click "Unblock" before unzipping the file.