Merge pull request #11190 from abpframework/maliming/CompiledRazorAssemblyPart

pull/11199/head
liangshiwei 4 years ago committed by GitHub
commit e042cdb00b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ namespace MyCompanyName.MyProjectName
{
context.Services.PreConfigure<IMvcBuilder>(builder =>
{
builder.PartManager.ApplicationParts.Add(new AssemblyPart(typeof(MyProjectNameWebModule).Assembly));
builder.PartManager.ApplicationParts.Add(new CompiledRazorAssemblyPart(typeof(MyProjectNameWebModule).Assembly));
});
}

Loading…
Cancel
Save