Closed williambowsher closed 5 years ago
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.
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
Did you add that in the project file or the web.config?
On Thu, 21 Mar 2019, 15:11 Harry McIntyre, notifications@github.com wrote:
Hmm, I found the example project wouldn't load on Azure due to a new issue with views loaded from assemblies unless I added
false
- maybe that needs to happen too
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mcintyre321/FormFactory/issues/79#issuecomment-475244253, or mute the thread https://github.com/notifications/unsubscribe-auth/AVAgZydUn9WYE0vaD0ER-pwRqgs5AZtRks5vY5MZgaJpZM4cBNsj .
That's in the csproj. Only a problem for deployed code though, it should all work locally.
Does the example project work locally for you?
On Thu, 21 Mar 2019 at 14:57, scriptmonkey69 notifications@github.com wrote:
Did you add that in the project file or the web.config?
On Thu, 21 Mar 2019, 15:11 Harry McIntyre, notifications@github.com wrote:
Hmm, I found the example project wouldn't load on Azure due to a new issue with views loaded from assemblies unless I added
false
- maybe that needs to happen too
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/mcintyre321/FormFactory/issues/79#issuecomment-475244253 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AVAgZydUn9WYE0vaD0ER-pwRqgs5AZtRks5vY5MZgaJpZM4cBNsj
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mcintyre321/FormFactory/issues/79#issuecomment-475263836, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQ0-knMD-2GMTp3c9XfQ4TKU9TPdyVpks5vY53jgaJpZM4cBNsj .
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.
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.
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?