Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Files has invalid value error, the given path's format is not supported

I am developing software with Visual Studio 2010. After saving and compiling my project, I received this error:

Error 1 Files has invalid value "c:\users\mamma\documents\visual studio 2010\Projects\Contact_DDBB\Contact_DDBB\obj\x86\Debug\ GeneratedInternalc:\users\mamma\documents\visual studio2010\Projects\Contact_DDBB_\ Contact_DDBB\bin\Debug\Contact_DDBB.exe". The given path's format is not supported. Contact_DDBB

I don't know which kind of error it is and why it has appeared.

What's the nature of this error, and how can it be fixed?

like image 879
JayJay Avatar asked Nov 08 '10 04:11

JayJay


2 Answers

just delete obj and bin subfolders in the project folder and recompile the project again. It seems that a file name or sth in those paths are corrupted and cannot be listed by C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3597,9)

like image 145
Behnood Avatar answered Sep 28 '22 07:09

Behnood


You should try clearing your project, these kind of things happen on Visual Studio All the time. You should be able to do this by going to Build > Clean Solution

Hope it works!

like image 38
David Conde Avatar answered Sep 28 '22 05:09

David Conde