mcintyre321 / FormFactory

MVC5, Core or standalone - Generate rich HTML5 forms from your ViewModels, or build them programatically
http://formfactoryaspmvc.azurewebsites.net/
MIT License
304 stars 102 forks source link

IIS Publish Error #92

Closed sahinaydin closed 4 years ago

sahinaydin commented 4 years ago

Hello.

I published my web app to my server. But I get the following error:

CS1061: 'PropertyVm[]' does not contain a definition for 'Render' and no extension method 'Render' accepting a first argument of type 'PropertyVm[]' could be found (are you missing a using directive or an assembly reference?)

The error line: @Model.PropertyVm.Render(Html)

How can I fix this error?

sahinaydin commented 4 years ago

Hello again. This error is related to FormFactory.AspMvc.dll. When I published web app, this dll was not included into bin directory. I added this dll then it worked.