Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmbeddedFileProvider code example not compiling with .Net core 2.1 #78

Open
Cannedfood opened this issue Mar 7, 2019 · 1 comment
Open

Comments

@Cannedfood
Copy link

With .Net core 2.1 the code in FormFactory.AspNetCore.Example/Startup.cs line 36 and 60 does not compile.

The EmbeddedFileProvider has to be created like this:

new EmbeddedFileProvider(typeof(FormFactory.FF).Assembly, nameof(FormFactory));

Maybe the example should be updated or the lines should be commented ("// For .Net core use bla")?

@Cannedfood Cannedfood changed the title EmbeddedFileProvider .Net core 2.1 EmbeddedFileProvider code form example does not compile with .Net core 2.1 Mar 7, 2019
@Cannedfood Cannedfood changed the title EmbeddedFileProvider code form example does not compile with .Net core 2.1 EmbeddedFileProvider code example not compiling with .Net core 2.1 Mar 7, 2019
@mcintyre321
Copy link
Owner

mcintyre321 commented Mar 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants