gregwiechec / Alloy.HideTabs

Allow to hide tab and properties based on conditions
Apache License 2.0
4 stars 5 forks source link

Cannot target .Net 6 #5

Open justinrichwillowtree opened 1 year ago

justinrichwillowtree commented 1 year ago

Current solution only targets .Net 5 and does not work when referencing .Net 6. @gregwiechec seems like this could be a quick update, but we're having issues getting the js to load pulling this up statically.

vyan024 commented 1 year ago

I just reference this in my solution on .NET 6, and it works like a charm. What error did you get @justinrichwillowtree ?

justinrichwillowtree commented 1 year ago

Interesting. The reference loads, but the javascript does not inject into the page correctly, resulting in invalid behavior. Maybe just a configuration issue, but we also worked through updating our CMS from 11 to 12 manually.

nhamlin-prft commented 1 year ago

EPiServer.Find.Blocks lowest version of 14.2.4 requires Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation >= 6.0.0, however Alloy.HideTabs v2.0.0 requires >= 5.0.12 && < 6.0.0 of the package. We have to choose one of the packages over the other so it really would be nice to have a net6 update and have both.