I have converted one of my VS2006 projects into VS2008 and when trying to build the project in VS2008 I get the above error. What is .sbr file ? and how can I fix the compile error? Any help is hugely appreciated.
views:
5384answers:
2An .sbr file is used to keep the "browse information" for symbol browsing within the projects. It's created at the same time as its source .cpp file gets complied.
If VS cannot find an .sbr file, it means that the source .cpp was not compiled properly. Try to "rebuild" the project (rather than just "build" it), it may fix the error.
According to this source http://msdn.microsoft.com/en-us/library/aa228917%28VS.60%29.aspx it can be caused by one of these reasons:
The file was locked by another process. If reason was Permission denied, the browser in the development environment might be using the file. Close the Browse window and repeat the build.
The disk was full.
A hardware error occurred.
The specified output file had the same name as an existing subdirectory.
In my case, i realized i had put accidentally an "meaningless" token on the begining of the source file.