CodeSnippetStudio icon indicating copy to clipboard operation
CodeSnippetStudio copied to clipboard

Building VSIX doesn't use changed files.

Open ngzero opened this issue 9 years ago • 2 comments

I don't know if Code Snippet Studio caches the content of the snippets or if an existing vsix file can't be replaced, but if I change a snippet, open vsix and click build vsix, the package contains the old snippet. I've seen this behavior concrete while changing the keyword of a snippet.

ngzero avatar May 19 '16 11:05 ngzero

If I understand fine, you aren't telling Studio to update your snippet in the .vsix, so what you should do is:

  1. Open the existing .vsix
  2. In the snippet list, remove the old snippet and add the new one (I agree that I should implement replacement at this point)
  3. Build the .vsix again

AlessandroDelSole avatar May 19 '16 20:05 AlessandroDelSole

I've already done this and it works. It was just suggestion for replacement :)

ngzero avatar May 20 '16 08:05 ngzero