Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Microsoft Great Plains .net toolkit issue
posted

Microsoft Great plains has a developer toolkit for microsoft great plains which allows a developer to build custom forms and actions to respond to GP events.

I'm building a dll for GP and I'm getting an error while the DLL is loading in GP:

Infragistics2.Win>Ultrawingrid v8.1.dll: Unable to load one or more of the requested types. Retrieve the loader Exceptions properly for more information

Method not found: 'Boolean Infragistics.Win.IselectionManager.ActivateItem(Infragistics.shared.iselectableItem)

plus other errors similar except IsItemSelectablewith currentselection(Infragistics.shared.iselectableItem)

Any ideas?  I'm not sure how licensing works and if I need to create a setup project but I tried it with and without a setup project and the result was the same.

When I compile the project on my development machine and run it as a windows application it works fine.

Parents
No Data
Reply
  • 2677
    Suggested Answer
    posted

    Hello,

    Sorry for the length of time for a response.  If you still need an answer, this sounds like a missing reference issue.  If it works as a standalone project, it is probably getting the assemblies from the GlobalAssemblyCache.  However, once you compile and add the assembly of the project to another project, it needs to have all the assemblies in the bin folder. 

    So, in the standalone project, you shouuld have Infragistics.Shared, Infragistics.Win, and Infragistics.Win.UltraWinGrid assemblies.  Make sure the three references above have there Copy Local property set to try.  This will force them into the bin folder.  Then when you use this assembly inside the other GP project, it should work just fine because it will be able to resolve the Infratistics.Shared and Infragtistics.Win stuff.

    If this does not work, then something else may be wrong. 

     

Children
No Data