ASP.NET Core 6 Not Building

I am following this guide but it seems outdated:
https://preview.keenthemes.com/asp.net-core/metronic/docs/getting-started

I am running the commands in:
metronic_v8.1.5\html\tools

After all of the commands and the gulp build finishes, the "demo1" folder is created:
However, inside of it is only one directory:
metronic_v8.1.5\html\demo1\dist\assets\plugins


I don't see any mention of the file structure mentioned here:
https://preview.keenthemes.com/asp.net-core/metronic/docs/file-structure

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)

Also -- it might be important to mention that I bought the theme from Themeforest (Envato)

Update --
Found https://devs.keenthemes.com/question/metronic-80-implementation-guide-for-aspnet-core-6

which said you need to download the starter kit from the website using purchase code. Following that now.

NullReferenceException: Object reference not set to an instance of an object.

Rising30_StaffPanel.libs.KTTheme.getView(string path) in KTTheme.cs

return $"{KTThemeSettings.config.LayoutDir}/{path}";

AspNetCoreGeneratedDocument.Views__ViewStart.ExecuteAsync() in _ViewStart.cshtml

Layout = KTTheme.getView("DefaultDarkSidebar.cshtml");

Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderViewStartsAsync(ViewContext context)

________________

I have all of the views set up correctly. Using original themeconfig.cs

Figured this out, it was because I did not put the _keenthemes folder in my solution and tried to just transfer the libs over -- and because I did not properly set up the Program.cs theme initialization.

Hi Resolute,

I am glad that you have already figurated ершы out. If you will need any further help let me know.

Regards,
Lauris Stepanovs,
Keenthemes Support Team

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(