question

AksharaThangam-8316 avatar image
0 Votes"
AksharaThangam-8316 asked TianyuSun-MSFT commented

Embed dynamic resource into vsix project before build

I have a VSIX template project, which the user can use to create a project. My requirement is when the user creates a project and tries to builds it, we need to dynamically embed a resource into the project (like reading a file from the machine and adding the content as a resource).

This addition of the dynamic resource should happen during pre-build. Is it possible to achieve this using the VSIX project template?

Thanks in advance

dotnet-csharpvs-extensions
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AksharaThangam-8316 , simply change some settings of the vsix project may not work. But perhaps you can check if .vsixmanifest file > Dependencies could meet your requirement. Also check the pre-build event, from project properties page > Build Events. If these don't work, you may need to check the APIs and write related codes to make it work.

0 Votes 0 ·

0 Answers