开发者

Why is there no Project Item when Deploying VSIX?

开发者 https://www.devze.com 2022-12-11 10:27 出处:网络
We have a VS2010 Beta 2 DSL Project , We can build, deploy and test on our Development machines and all is well i.e When we go to \'Add New Item\' we can select our DSL

We have a VS2010 Beta 2 DSL Project , We can build, deploy and test on our Development machines and all is well i.e When we go to 'Add New Item' we can select our DSL

When it comes to giving the VSIX to someone else to try the ONLY way that they can see the associated Project Item is if they build the DSL Project on thei开发者_如何学Gor machine, they do not need to F5, it is just a simple Build Solution and then voila they can see it.

Is this a bug or user error?


You might want to update your bits to the RC version, which are now shipping in the VS Visualization & Modeling SDK at http://www.microsoft.com/downloads/details.aspx?FamilyID=cd443b01-d657-4f8b-b5b8-29f1e3e2c424&displaylang=en


This is apparently a known bug

I have found a workaround by adding some guids

{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}

into the csproj and manually editing the vsixmanifest to add

ItemTemplates

I created a folder called ItemTemplates and then added the generated project item Zip into the folder , I then set the Zip as Content and changed the IncludeInVSIX property to 'True'

Not pretty but it works

0

精彩评论

暂无评论...
验证码 换一张
取 消