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:
Erro开发者_运维问答r 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?
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)
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!
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
精彩评论