I have a Visual Studio 2010 C++ project which was copied from another visual studio project and renamed. The project compiles fine and works. However recently, I went to the Resource View to edit some dialogs and the window is completely empty. I can't remember if I went there since I copied the project or not:
Any ideas on how I can get this back? I'm thinking there is some cache somewhere?
UPDATE
I should add that this solution is a multi-project solution and normally in the resource view even if a given project does not have resource files you will still see a "folder" for the project in the resource view tree view. There are no "folders" for any of the projects in the solution.
I should also add that other solutions that I open in visual studio will display the resource view fine.
Any managed resources you want to edit must be linked resources and Visual Studio resource editors don't support editing embedded resources. To view a managed resource in a resource editor, in Solution Explorer, double-click the resource, for example, Bitmap1. bmp, and the resource opens in the appropriate editor.
RC files mostly belong to Visual Studio by Microsoft. An RC file is a resource script used by compilers for applications written in various programming languages. A resource script (RC) file contains information such as source file references, version information, and identifiers for an application.
A resource file is a text file with the extension . rc. The file can use single-byte, double-byte, or Unicode characters. The syntax and semantics for the RC preprocessor are similar to those of the Microsoft C/C++ compiler. However, RC supports a subset of the preprocessor directives, defines, and pragmas in a script.
A resource is a text file that allows the compiler to manage objects such as pictures, sounds, mouse cursors, dialog boxes, etc. Microsoft Visual Studio makes creating a resource file particularly easy by providing the necessary tools in the same environment used to program.
It might be because your Browsing/Navigation Database is disabled.
Check the current setting under: Tools -> Options -> Text Editor -> C++ -> Advanced. "Disable Database" should be false.
This is a bug as far as I know, and they said they are working on the problem.
More Info: http://connect.microsoft.com/VisualStudio/feedback/details/535971/solution-resource-view-empty-when-option-disable-database-c-is-set-to-true
I had similar problem that I solved with reloading projects in the solution (unload projects and then reload all projects).
I had the same issue today, and my class browser was also empty. I fixed it by deleting the ipch directory and the sdf file from the solution's directory. Visual Studio reinitialized the intellisense databases, and the view were back.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With