I have an addin that accesses modified PM forms to allow scanning and document viewing through a another application. This worked fine with GP18.3, but when trying to upgrade to 18.4, I ran into versioning issues. I was able to create the modifiedforms assembly using DAG.EXE. When I try to run the addin, I get the following exception:
The description for Event ID 0 from source Microsoft Dexterity cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
An exception occurred while trying to load or initialize the addin located at C:\Program Files (x86)\Microsoft Dynamics\GP2018\Addins\GPDataViewAddIn.dll.
Exception Details:
System.TypeInitializationException: The type initializer for 'Microsoft.Dexterity.Applications.root' threw an exception. ---> System.InvalidOperationException: Assembly [Application.MicrosoftDynamicsGp, Version=18.3.0.0, Culture=neutral, PublicKeyToken=null] conflicts with the dictionary [Microsoft Dynamics GP, version 18.4.1384].
at Microsoft.Dexterity.Bridge.DictionaryRoot.ValidateVersion(Assembly assembly)
at Microsoft.Dexterity.Applications.root..cctor()
--- End of inner exception stack trace ---
at Microsoft.Dexterity.Applications.MicrosoftDynamicsGpDictionary.PmTransactionEntryForm..ctor()
at Microsoft.Dexterity.Applications.MicrosoftDynamicsGpModifiedDictionary.PmTransactionEntryForm..ctor()
at Microsoft.Dexterity.Applications.MicrosoftDynamicsGpModifiedDictionary.PmTransactionEntryForm.get_Instance()
at GPDataViewAddIn.GPAddIn.Initialize() in ------
at Microsoft.Dexterity.Bridge.AddinManager.LoadAddin(String name, Type type, Boolean checkPlatformAttribute, Int32 currentDexPlatform)