Hello all,
I have a strange issue cropping up when I try to import a solution. I was attempting to copy a default solution from a sandbox to a production instance, and got the following error on the final dependency check:
The dependent component WebResource (Id=Goal_main_system_library.js) does not exist. Failure trying to associate it with SystemForm (Id=a091897e-d685-4487-b61c-98158391015e) as a dependency. Missing dependency lookup type = PrimaryNameLookup.
I checked the web form in question (the Goals web form, managed out of the box) and didn't find the Goal_main_system_library.js anywhere, nor is it in the web resources. I re-exported the solution I tried importing the default solution back into sandbox and got the same dependency error.
I do have one unmanaged solution applied with custom entities and some custom fields, but no web resources of any kind and no modifications to the Goal entity. Looking the XML, I can see the references to Goal_main_system_library.js but can't for the life of me find them in CRM to delete them. I also can't find out what solution includes the Goal_main_system_library.js so I can put it back in.
Any suggestions on where to look? D365 online, 9.0.2.
EDIT: I did find the web resource listed on the Form: Dependencies list as AppCommon/Goal/Goal_main_system_library.js and when I click on it, it opens, as well and comes up when I browse to https://*.crm.dynamics.com//webresources/AppCommon/Goal/Goal_main_system_library.js. But it's not showing up in the Default Solution under Web Resources when I list All.
EDIT 2: I reset the sandbox to stock, exported the default solution and re-imported it right back in and got the dependency error... looking like a bug of some kind.
EDIT 3: Verified as a bug by Microsoft.
Thanks
Rob
*This post is locked for comments