Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Adding Private Gallery using VSIX

$
0
0

Hi,

We have set up a private gallery for our internal Visual studio source control plugin. I am able to add the gallery manually using extension manager.

The requirement is to add this private gallery to Extension Manager automatically when they first install the VSIX plugin. (I am not sure whether VSIX allows this)

I created a pkgdef file in my project with properties "Build Action:Content" and "Include in VSIX" 

[$RootPath$\ExtensionManager\Repositories\{93a69fb5-58b6-4b2b-9f90-5d7abce1b90f}]
@="http://privategallery/atom.html"
"Priority"="30"
"Protocol"="Atom"
"DisplayName"="Private Gallery"

And in the manifest file, I added this as an asset.

<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="MyPackage.pkgdef" />
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="File" Path="privategallery.pkgdef" />
</Assets> 

But the second pkgdef file is not considered and I dont see the private gallery created.

Thanks,

Rajiv.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>