ExtensibilityTemplatePack icon indicating copy to clipboard operation
ExtensibilityTemplatePack copied to clipboard

Project name with [dot] causes error

Open UlyssesWu opened this issue 4 years ago • 1 comments

If I create a project with name MyProject.VSIX, I have to fix this first to make it compile. I can fix it, but I wonder if the template can be improved.

image

UlyssesWu avatar Jan 23 '22 14:01 UlyssesWu

The way I fixed this was:

  1. Update VSCommandTable.vsct and replace the dot/period with underscores:
<Commands package="MyProject_VSIX">
</Commands>

<Symbols>
  <GuidSymbol name="MyProject_VSIX" value="{...}">
    
  </GuidSymbol>
</Symbols>
  1. Right-click on the file and select Run Custom Tool
  2. Update MyProject.VSIXPackage.cs:
[Guid(PackageGuids.MyProject_VSIXString)]
public sealed class MyProject_VSIXPackage : ToolkitPackage

icnocop avatar Jul 18 '24 18:07 icnocop