JayJay
JayJay

Reputation: 1068

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?

Upvotes: 6

Views: 10401

Answers (3)

Sandesh Mhatre
Sandesh Mhatre

Reputation: 119

manually clear and save following file projectname.vbproj.FileListAbsolute.txt

location project path\obj\x86\Debug\

effective in all cases such as Build,Rebuild and Clear is failed

Upvotes: 1

Behnood
Behnood

Reputation: 171

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)

Upvotes: 17

David Conde
David Conde

Reputation: 4637

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!

Upvotes: 5

Related Questions