Skip to content

FileProviders MvcRazorRuntimeCompilationOptions vs RazorViewEngineOptions  #14221

Closed
@DiegoStefanon

Description

@DiegoStefanon

Describe the bug

in core 3.rc1 is not working anymore ->
services.Configure<MvcRazorRuntimeCompilationOptions>(opts =>
opts.FileProviders.Add(fp)
);

in core 2.2 was good ->
RazorViewEngineOptions FileProviders.Add was working

Expected behavior

In asp.net core 3 rc1
RazorViewEngineOptions has no more FileProviders property
so using the new one MvcRazorRuntimeCompilationOptions is not working anymore

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions