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
Comments
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
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
Cheers - I don't have a lot of time to work on FF, but I'd be very happy to
merge a PR updating it all to a newer version of .NET Core
…On Thu, 7 Mar 2019 at 09:10, Benno Straub ***@***.***> wrote:
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")?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#78>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQ0-gG9Dmotl8u0vjUo-bgBDPze2MZNks5vUNeBgaJpZM4bisTm>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
Maybe the example should be updated or the lines should be commented ("// For .Net core use bla")?
The text was updated successfully, but these errors were encountered: