Aug 12, 2009 at 4:36 PM
Edited Aug 12, 2009 at 7:21 PM
Hello Anton, thank you for point out this problem.
You see the problem occurs when the framework tries to modify the main (wmain) function for console project. I’ve investigated it earlier but still not able to find good explanation why the function body could not be retrieved by EnvDTE or EnvDTE80
methods. It happens in UtGenerator.cpp line 137
My test case is:
- creating a console project and a new test project for it
- removing the test project and removing all insertion items from the main function cpp-file
- attempt to create a test project
The simplest way is: close and reload the solution (In my case it usually helps)
Actually, yes, the message itself is quite unsuitable.