Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project name with [dot] causes error #18

Open
UlyssesWu opened this issue Jan 23, 2022 · 1 comment
Open

Project name with [dot] causes error #18

UlyssesWu opened this issue Jan 23, 2022 · 1 comment

Comments

@UlyssesWu
Copy link

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

@icnocop
Copy link

icnocop commented Jul 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants