Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

About the seed data and _Layout.cshtml error. #3094


User avatar
0
jakeuj created

Where is the seed data document about ASP.NET Core 1.1 without module zero?

BTW, the project ASP.NET Core 1.1 without module zero has an error.

MyProject.Web.Views.Shared._Layout.cshtml

L96

moment.locale(@'Thread.CurrentThread.CurrentUICulture.Name');

Error: "Thread" not have "CurrentUICulture" define...


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    ABP Core template without module zero does not contain seed method in it. The latest version does not contain the line you have shared. I have checked here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnet-core-template/blob/master/src/AbpCompanyName.AbpProjectName.Web/Views/Shared/_Layout.cshtml#L114">https://github.com/aspnetboilerplate/as ... shtml#L114</a>.

    When did you downloaded your template ?

    Thanks.