error after hotfix 13.0.99

lawrence whittemore asked on February 1, 2023 16:48

The type 'Global' is ambiguous: it could come from assembly 'C:\Users\myuser\source\repos\intranet.northernlighthealth.org\CMS\bin\CMS.DLL' or from assembly 'C:\Users\myuser\source\repos\intranet.northernlighthealth.org\CMS\bin\CMSApp.DLL'. Please specify the assembly explicitly in the type name.

I am getting this error after a clean rebuild after installing the latest hotfix.

Recent Answers


lawrence whittemore answered on February 1, 2023 17:07

I deleted the cmsapp.dll that was created and that seems to have fixed it. Not sure where that came from.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 2, 2023 16:33

If you have both of those files after a rebuild, then there is something wrong. Either the file couldn't be deleted during the rebuild/clean OR you have a project with the same name referenced. I'd suggest manually deleting the files from the /bin directory in your project, then try building again and see if those show up.

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on February 2, 2023 16:45

A handful of files were not deleting with the clean so I just removed the whole bin folder and that worked. Good times.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.