In VS 2008, Visual C++ had a couple of the simple scenarios called Custom Build Step and Custom Build Tool. This post will discuss a couple of the simple build extension options you have, and how they’ve changed since VS 2008. Andrew Arnott discusses these scenarios and how they work in VS 2010 here
I'm getting very high CPU/memory usage (100% one core, over 3gb) when using intellisense in solutions with a large number of files (approx. 50 h/cpp). I think I can use WinDbg to get a stack trace from vcpkgsrv.exe. Where can I report this problem ?
This is not normal. A project with 50 h/cpp files is not large at all.
Could you share your projects with me?
You can reach me by "jianhual at microsoft dot com".
Unfortunately I haven't been able to reproduce the problem. After bugging me for one day it has completely disappeared. And I forgot to save the log from WinDBG.
It is very similar to the problem described here : https://connect.microsoft.com/VisualStudio/feedback/details/554340/vs2010-memory-and-cpu-spikes#details .
I remember that the problem appeared when invoking code completion via CTRL + SPACE or when hovering the mouse over a macro/function call. Also the stack trace of the thread that was consuming most of the CPU began with something like compiler_main -> invoke_compiler_pass and ended up in some memory freeing routine (I don't remember the names exactly).
I hope it helps.
My email address is email@example.com if you need to contact me.
Just let you know that I have open a separate product bug for the issue you hit. We will try the steps you described and see if we can reproduct this issue.
By the way, Adrian, if you can get a consistent repro steps, do let us know.