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.