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

Initial use #79

Closed
williambowsher opened this issue Mar 21, 2019 · 6 comments
Closed

Initial use #79

williambowsher opened this issue Mar 21, 2019 · 6 comments

Comments

@williambowsher
Copy link

williambowsher commented Mar 21, 2019

I am trying to use the FormFactory in a small .NET Core 2.2 demo, to get myself familiar with it before I go on an use it in a Cloud Multi tenant application.

I have followed the examples with regards to the Nuget packages installed and the javascript and css inclusions. I have also added the required code in the ConfigureServices and Configure methods in the Startup.cs to add the EmbeddedFileProvider.

Unfortunately it would seem the EmbeddedFileProvider is not providing files as I am getting the following error:
Property.System.Object.cshtml not found

Are there any pointers I have missed?

@mcintyre321
Copy link
Owner

Strange - if the project has the setup from the ASPNetCore Example, then it should work...

You can maybe get started by installing the FormFactory.Templates project, which should install the assets to disk.

@mcintyre321
Copy link
Owner

Hmm, I found the example project wouldn't load on Azure due to a new issue with views loaded from assemblies unless I added <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> - maybe that needs to happen too

@williambowsher
Copy link
Author

williambowsher commented Mar 21, 2019 via email

@mcintyre321
Copy link
Owner

mcintyre321 commented Mar 21, 2019 via email

@williambowsher
Copy link
Author

I will try it again tonight, and let you know. I have gone home so the demo project is still at work. It won't take long.

Thanks for the quick response.

@williambowsher
Copy link
Author

williambowsher commented Mar 27, 2019

Ok finally got back into the office and the example ASP.NET Core project runs on my machine in debug mode.

So thanks for all the help and suggestions. Now to get it integrated into my solution.
I might need to raise some PRs for new templates, but will contact you as and when.

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