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
Asp Net Core 3.0 AggregateException The partial view 'FormFactory/Form.Property' was not found. #89
Comments
Did you fix the issue, I am facing same problem. |
No , I end up with change my code back to form taghelper for some reason ^.^ |
It sounds like the embedded file system provider in a asp.net 3 doesn't
work with FormFactory, which is compiled against 2.0
At some point, when I get the time, I'll upgrade it
…On Mon, 30 Dec 2019, 16:59 AspDotNetCP, ***@***.***> wrote:
No , I end up with change my code back to form taghelper for some reason
^.^
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#89?email_source=notifications&email_token=AACDJ6UMZQIVHG6CUZHTELDQ3ISHNA5CNFSM4JQMMUE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH2XHSA#issuecomment-569734088>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACDJ6S7IB2VMHS3EPAL3O3Q3ISHNANCNFSM4JQMMUEQ>
.
|
I am having the same issue in asp.net mvc core 3. So, I then tried to use FormFactory.Templates but now I get an error on build saying that 'DateAttribute' is a type which is not valid in the given context. The error is appearing in the following file: .nuget\packages\formfactory.templates\5.0.67\contentFiles\any\netstandard1.6\Cell.System.DateTime |
Hi, Do you have a time frame in mind regarding updating this to core v3? |
+1... I'm having troubles upgrading to v3.1 as well. |
I'm afraid I have very little time at the moment. If someone could submit a Pull Request with necessary changes, I'd be happy to accept it *
|
Hi, I managed to get it working on NET CORE 3.1 by doing the following:
|
Thanks Phexlyn42, this works fine for me! |
Asp Net Core 3.0 AggregateException
@FF.PropertiesFor(Model).Render(Html)
14:23:14 [Error] () An unhandled exception has occurred while executing the request.
System.AggregateException: One or more errors occurred. (The partial view 'FormFactory/Form.Property' was not found. The following locations were searched:
/Views/Assignment/FormFactory/Form.Property.cshtml
/Views/Shared/FormFactory/Form.Property.cshtml
/Pages/Shared/FormFactory/Form.Property.cshtml
/Views/Shared/FormFactory/Form.Property.cshtml)
---> System.InvalidOperationException: The partial view 'FormFactory/Form.Property' was not found. The following locations were searched:
/Views/Assignment/FormFactory/Form.Property.cshtml
/Views/Shared/FormFactory/Form.Property.cshtml
/Pages/Shared/FormFactory/Form.Property.cshtml
/Views/Shared/FormFactory/Form.Property.cshtml
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer)
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at FormFactory.RenderExtension.Render(IEnumerable
1 properties, IHtmlHelper html)at AspNetCore.Views_Assignment_AddAssignments.<>c__DisplayClass26_0.<b__4>d.MoveNext() in C:\AddAssignments.cshtml:line 72
--- End of stack trace from previous location where exception was thrown ---
The text was updated successfully, but these errors were encountered: