Hi @ismcagdas
found an issue with the public site and Bootstrap - it uses: data-bs-toggle="dropdown" - in header\default.cshtml but the version of Bootstrap referenced is "older" - so change to: data-toggle="dropdown" - solved the dropdown issue.
Maybe you should update Bootstrap for public site :-)
Also som id's and class's use the same name.
Hi,
eg. for the Account Languages in ...Mvc\Views\Account_Layout.cshtml
instead of using:
<vc:account-languages></vc:account-languages>
use:
@await Component.InvokeAsync("AccountLanguages")
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/view-components?view=aspnetcore-7.0
Hi,
tried the global.json approach - but can not get it working. Only thing that works for us is the:
*Component.InvokeAsync() instead of vc: tags * We hope for at patch VS2022 v17.5.2 as soon as possible :-)
Hi @ismcagdas
I think it is related to v17.5.1 - MS is working on a patch. new comments on:
https://github.com/dotnet/razor/issues/8281
We can solve it by using Component.InvokeAsync() instead of vc: tags
We deploy (publish) via VS2002 to our production and review servers
Hi,
seems to be an issue related to VS2022 17.5 update :-(
https://github.com/dotnet/aspnetcore/issues/46740
https://github.com/dotnet/razor/issues/8281#issuecomment-1446996618
Hi,
found this - could it help:
https://github.com/dotnet/aspnetcore/issues/38541
Hi,
looks like the "vc:" is not "rendering" - why?
<vc:account-logo logo-height="100" skin="dark" add-on="text"></vc:account-logo> <vc:tenant-change></vc:tenant-change> <vc:account-languages></vc:account-languages>
it is OK in our development environment