FYI if you have encountered the first problem that Gareth refers to above, here are some notes on how to fix the migrated code.
The guid for the command set is specified in two separate files in the project, and these values need to match. The values are in: * DslPackage\GeneratedCode\Constants.tt, and * DslPackage\GeneratedCode\GeneratedCmd.tt
In Constants.tt, the guid is specified in the line that starts "public const string <#= dslName #>CommandSetId".
In GeneratedCmd.tt, the guid is specified in the line that starts "#define guidCmdSet".
Edit the .tt files so that these guid values match, then transform the templates to regenerate the corresponding ".cs" files. You can use either the "old" or "new" guid, or you can generate a new one (e.g. using "Tools", "Create Guid" in Visual Studio).
Note the guids are represented differently in the files, although they have the same value (one is in the GUID struct format, the other is a string).
You will also need to update the ProvideMenuResource value as described in Gareth's post.
Duncan
|