sayedihashimi / template-sample

Other
225 stars 56 forks source link

Item Templates Support #67

Open james1301 opened 1 year ago

james1301 commented 1 year ago

Hi, I read here: #10, that there might be some support coming in .net 7.0 for Item Templates? Are these working now?

If not, is there a workaround that can be used? I understand that it is not supported and liable to change.

sayedihashimi commented 1 year ago

@phenning where are we at with Item Templates?

sayedihashimi commented 1 year ago

@james1301 for the info on the unsupported method to get item templates to appear see https://github.com/sayedihashimi/template-sample/issues/53#issuecomment-1016800291. You can also reference the MAUI templates which use this method https://github.com/dotnet/maui/blob/main/src/Templates/src/templates/maui-contentpage-csharp/.template.config/ide.host.json.

james1301 commented 1 year ago

Thanks, @sayedihashimi I did try that before but it didn't seem to work. I have got it working now though. So I am on 17.4, so updated that, will this need to be updated each minor version updated?

I have also removed the maui references as this is related to any project.

Is there any issue to track for this feature to be implemented without the workaround?

Possibly some mention of this on your help, might be useful as it was something that took me a while to find that it didn't work by default.

sayedihashimi commented 1 year ago

@james1301 happy to hear you got it working. You shouldn't need to update until we change the way we support this later on.

I don't think we have a public issue to track the update, but I'll reply on #53 when it's in the preview. Keep an eye on that comment thread. It may be some time for us to implement the support, we have a lot of other work ahead of it in the backlog.

MithrilMan commented 5 months ago

any news on Item Template support for CLI Item templates? It seems to me the support has been dropped completely