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
Hi @ismcagdas,
not that "strong" in Github ... yet :-)
How and where do I create a feature request, for this?
Hi @ismcagdas
thank you :-)
Hi @ismcagdas
building for Core/MVC - v11.2.1
The Metronic gulp command does not place "all" information in the plugins.bundle.* as in the case of the ANZ project. Some - e.g. dataTable - is created in a Custom folder.
Is it possible to get the "gulp.config.js" you have been using for the build of global\plugins.bundle.* ?