class name and method name dropdown list is missing (visual studio setting)
Tools–>Options… Text Editor–>All Languages Check “Navigation Bar.” (Picture is from VS2013)
Tools–>Options… Text Editor–>All Languages Check “Navigation Bar.” (Picture is from VS2013)
The windows.h header file (or more correctly, windef.h that it includes in turn) has macros for min and max which are interfering. You should #define NOMINMAX before including it. In fact, you should probably do that even if there were no conflict, since the naive definition of the macro shows why function-like macros are a … Read more
In the project XML files: Console applications contain: <OutputType>Exe</OutputType> WinForms applications contain: <OutputType>WinExe</OutputType> Library (.dll) projects contain: <OutputType>Library</OutputType> and do NOT contain a <ProjectTypeGuids> ASP.NET and WCF projects contain: <ProjectTypeGuids>{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> <OutputType>Library</OutputType> The GUIDs do something to define exactly what type of project it is. The ones above were taken from an ASP.NET app. They exist … Read more
Debug and Release are just labels for different solution configurations. You can add others if you want. A project I once worked on had one called “Debug Internal” which was used to turn on the in-house editing features of the application. You can see this if you go to Configuration Manager… (it’s on the Build … Read more
A colleague found this MS auto-uninstall tool which has successfully uninstalled VS2008 for me and saved me hours of work!! Hopefully this might be useful to others. Doesn’t speak highly of MS’s faith in their usual VS maintenance tools that they have to provide this as well!
If you have a project reference, it should work immediately. If it is a file (dll) reference, you need the debugging symbols (the “pdb” file) to be in the same folder as the dll. Check that your projects are generating debug symbols (project properties => Build => Advanced => Output / Debug Info = full); … Read more
For versions before Visual studio 2012: It works when I do this: find include “{[a-zA-Z]+\.h}”, replace with include <\1>. The most relevant parts for your question are the curly braces {} and the back reference \1: \n references to the n’th group indicated by curly braces in the search expression. For versions Visual studio 2012 … Read more
Docking layout depends on the order of sibling controls. Controls are docked “button up”, so the last control in the collection is docked first. A docked control only take the layout of previously docked siblings into account. Hence the control with Dock=Fill should be first (top) in the sibling order, if you want it to … Read more
cl.exe, the command line interface to Microsoft Visual C++, has three different options for outputting the preprocessed file (hence the inconsistency in the previous responses about Visual C++): /E: preprocess to stdout (similar to GCC’s -E option) /P: preprocess to file /EP: preprocess to stdout without #line directives If you want to preprocess to a … Read more
I solved this problem by deleting the contentious files from bin folder and rebuilding the project.