0

I've used Visual Studio's 'Code Maps' extensively for my C# projects in the past. I'm now working on a native c++ project and running into problems. When I add a class or method to a Code Map I get the following error message with no context or help available. Any ideas what the cause is?

    Error Fail to get symbol's namespace

I should not that the project compiles and runs without a problem.

Russell Trahan
  • 783
  • 4
  • 34

2 Answers2

0

This MSDN page on Code Maps notes under Requirements that C++ has limited support.

Khouri Giordano
  • 1,426
  • 15
  • 17
0

Turns out it was my mistake and not a bug. I had incorrectly put includes in my headers such that almost all .cpp files included all .h files even if they weren't needed. It appears this caused the codemap application to crash. I went through and correctly included only the required .h files and correctly created my precompiled headers. This makes the codemap run as it should.

Russell Trahan
  • 783
  • 4
  • 34