ligershark / sidewafflev2

Other
30 stars 11 forks source link

Can't Make a Template Pack #29

Closed Ombrezz closed 6 years ago

Ombrezz commented 6 years ago

Whenever I try to make a Template Pack, VS 2017 throws an error that says "There is a missing project subtype. Subtype: '{82b43b9b-a64c-4715-b499-d71e9ca2bd60}' is unsupported by installation."

sayedihashimi commented 6 years ago

It sounds like you don't have the Visual Studio Extensibility components installed. That's required for creating templates.

Ombrezz commented 6 years ago

Where can I install that?

sayedihashimi commented 6 years ago

In the start menu you should find something like "Visual Studio Installer", when you open that you can modify the components. There is also some info at https://docs.microsoft.com/en-us/visualstudio/extensibility/installing-the-visual-studio-sdk but it's pretty limited. Let me know if you are not able to figure it out.

Ombrezz commented 6 years ago

While I wasn't able to to understand the help page, I do have the modify menu open for VS 2017. Which workload do I have to install?

sayedihashimi commented 6 years ago

@someRandomCoder7 here is what you need

image

FYI @madskristensen the docs at https://docs.microsoft.com/en-us/visualstudio/extensibility/installing-the-visual-studio-sdk do not provide enough info.

Ombrezz commented 6 years ago

I already have that.

sayedihashimi commented 6 years ago

In the new project dialog do you see an Extensibility section?

Ombrezz commented 6 years ago

Yes I do. In there is the "C# Item Template", "C# Project Template", "VISX Project", and the "SideWaffle Template Pack".

sayedihashimi commented 6 years ago

Can you create a VSIX project there and see if you get any errors?

From the following it does look like an Extensibility project type guid

Ombrezz commented 6 years ago

Yes I can successfully make a VISX Project. Although I am confused of the second part of your comment

sayedihashimi commented 6 years ago

The project that is created when you go through File->New Project->Extensibility->Template Pack is the same as a VSIX Project. So I don't understand why it's working on your machine for a VSIX Project but not the Template Pack project. If you create a new VSIX project you should notice that it has the ID that you mentioned here 82b43b9b-a64c-4715-b499-d71e9ca2bd60.

Ombrezz commented 6 years ago

No, it actually has this ID: f45707ff-0434-433f-bcaf-e4bf0c1c8f23.

Ombrezz commented 6 years ago

For some reason the Template Pack all of a suddenly works... Thanks for the help.

sayedihashimi commented 6 years ago

@someRandomCoder7 sounds good, glad you got it working.