最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - Files are missing from App_PluginsUmbracoForms in umbracoForms 13.3.3 - Stack Overflow

programmeradmin0浏览0评论

I have a project that uses Umbraco 13.5.2 and Umbraco.Forms 13.3.3 as nuget packages. When I run the project everything works as expected but when I publish it to IIS some of the form functionalities doesn't work and I get some 404 errors:

This one happens when I submit a form and page doesn't scroll to the output message.

I realized that these file and other similar files are coming from Umbraco.Forms.StaticAssets dll. When I check the files in .nuget folder I can see lots of files are missing. I tried copy pasting all of the files from .nuget folder to the published folder and it started working.

I'm not sure why some of the files were copied to the published folder and some others are missing.

Later I realized that files from StaticAssets were copied directly to code base before and that was the reason that some files were missing. I copied files for the new version of StaticAssets for a temporary solution but I think the files should automatically copy/pasted to the published folder but they are not. If I don't copy/paste files to UmbracoForms folder in my code base nothing get copied in the published folder.

发布评论

评论列表(0)

  1. 暂无评论