CMDS: Missing package guid for commands section

Hi,

Does anybody know how to solve this error ?

Warning 1 CMDS: Missing package guid for commands section C:\\Documents and Settings\\alex\\My Documents\\Visual Studio 2005\\Projects\\B4Designer\\Designer\\CtcComponents\\CustomCmd.ctc 24 Designer

1)I tried to create another project using 'Class Designer' template but the error continue.
2)I reinstalled the DSL Tools but the error continue.

Thanks,
Alexnaldo Santos

[464 byte] By [AlexnaldoSantos] at [2007-12-18]
# 1

I'm not exactly sure what's causing this.

The error refers to the file Designer\CtcComponents\CustomCmd.ctc, line 24, which uses the value "guidPkg", which is defined in the included file Designer\CtComponents\GeneratedCmd.h . This is generated from GeneratedCmd.dslddt, which reads the model in Designer.dslddt

First, see if there's anything sensible in Designer\CtcComponents\GeneratedCmd.h (in the solution explorer, you'll find it hiding under the corresponding .dslddt file). If it's more or less empty, or if the line defining guidPkg looks wrong, right click on GeneratedCmd.dslddt in the solution explorer, and choose "Run Custom Tool". If this generates errors, then there's probably something wrong with Designer\Designer.dsldd, or with DomainModel\DomainModel.dsldm.

If there are no apparent errors when you "Run Custom Tool", open GeneratedCmd.dslddt and you should see a line like this about half way down:

// CTC guids - MUST be kept in sync with GeneratedCmd.cs

#define guidPkg { 0x1abe250a, 0x1ac4, 0x43c0, { 0xb8, 0x0c, 0x68, 0xbb, 0xde, 0xa3, 0x60, 0xfd } }

If you don't see that, it sounds as though you've a serious installation problem with DSLTools. Uninstall and reinstall.

AlanCameronWills at 2007-9-8 > top of Msdn Tech,Visual Studio,Visual Studio Extensibility...
# 2

Hi Alexnaldo,

Did you get anywhere with this issue?

GarethJMSFT at 2007-9-8 > top of Msdn Tech,Visual Studio,Visual Studio Extensibility...
# 3

I don't think this is a DSL installation problem. The warning is coming from the CTC.exe tool (from the VS SDK) that runs as part of the project build to create the menu definitions for your package. My suspicion is that the build rule that runs CTC.exe is being executed when the CTC file is initially added to the project, perhaps before the project is completely ready, and this is causing the warning to appear.

We'll track this down further and fix the issue, for the time being, please ignore the warning if possible. It should go away if you build the solution.

Thanks,

Grayson

GraysonMyersMSFT at 2007-9-8 > top of Msdn Tech,Visual Studio,Visual Studio Extensibility...

Visual Studio

Site Classified