When activating a project by hand a 'cbEVT_PROJECT_ACTIVATE' is generated, which is notified to the plugins.
If a plugin is sensitive to this event, then it can analyze the project and it active target.
In the case of the creation of a project by the assistant, the created project is also actived : but the name of the active target is empty ( the one recovered since the event ) !
I did not find the source of the problem.
I enclose a small generic plugin that captures this event and displays in the 'Code::Blocks' pane the result.
This plugin was created with : VISTA with cb-11246 (sdk=1.33.0), wx2.8.12, TDM-GCC 4.7.1 32 bits (unicode).