I perform all the steps as specified in the documentation. I do not get an error during compilation, but then I get this page.
System.InvalidOperationException: The view '~/Views/Pages/Dashboards/Index.cshtml' was not found. The following locations were searched:
~/Views/Pages/Dashboards/Index.cshtml
at Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult.EnsureSuccessful(IEnumerable`1 originalLocations)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at ThemeMiddleware.InvokeAsync(HttpContext context, IKTTheme theme, IKTBootstrapBase ktBootstrapBase) in G:\Ä°çerikler\HTML\metronic-responsive-admin-dashboard-template\metronic-v8.2.8\metronic-v8.2.8\asp.net-core\metronic_asp.net-core_v8.2.8\Starterkit\ThemeMiddleware.cs:line 19
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Program.<>c.<<<Main>$>b__0_0>d.MoveNext() in G:\Ä°çerikler\HTML\metronic-responsive-admin-dashboard-template\metronic-v8.2.8\metronic-v8.2.8\asp.net-core\metronic_asp.net-core_v8.2.8\Starterkit\Program.cs:line 27
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
<a>https://devs.keenthemes.com/question/i-cant-run-aspnet-example</a> the solution in this link solved the problem.
Hi,
I want to apologize for the late reply.
This issue should already be fixed for the zip file on Metronic Downloads page.
Please don't hesitate to contact us if you need any additional help.
Regards,
Lauris Stepanovs,
Keenthemes Support Team