Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Unspecified error" in Visual Studio 2008 when trying to view project properties

When I set my active solution from Win32 to x64, I cannot build the project or view the properties.

When I try to build my project, it is skipped.

When I try to view the properties, the first time I try, nothing happens. The second time, I get an error message saying, "The operation could not be completed. Unspecified error".

I am running Visual Studio 2008 sp1.

The project compiles correctly on another computer.

like image 326
David Robison Avatar asked Oct 06 '09 18:10

David Robison


2 Answers

The x64 components for Visual Studio 2008 had not been installed on the second computer. Installing those solved the problem.

(There are a lot of unhelpful hits in Google when searching for a solution to this problem. Hopefully this helps someone else in the future.)

like image 182
David Robison Avatar answered Oct 21 '22 16:10

David Robison


In my case removing TargetFrameworkVersion attribute from VisualStudioProject xml node of vcproj file solved the problem. I suspect it was caused by project file conversion from previous version of Visual Studio.

like image 44
Anatol Mashuta Avatar answered Oct 21 '22 17:10

Anatol Mashuta