I am trying to add about 200+ dll files into my visual studio project (sage 200 assemblies files) but when i go to Project -> Add Reference
section and browse for the files it show me nothing. I can browse around 30-50 files easily and that can show but not 100+ files together.
Is there any setting to change this? or is there any other method through which i can make sage 200 C# code to work for connect/create customer/sale invoice etc.
Actually there was no need to add this much numbers of DLLs into the project. Sage 200 is having some basic dll files to add into the project and there is initial code by sage 200 SDK support which help to reference all the required assemblies from the installation itself.
here is the sample code from their documentation:
The following are the minimum references required to write a basic Sage 200 Form derived from Sage.MMS.BaseForm.
The following are the minimum references required to use classes in the Financials module.
The following are the minimum references required to use classes in the Commercials module.
The following are the minimum references required to use classes in the Project Accounting module.
In addition to the Financials and Commercials references listed above, the following are the minimum references required to use classes in the Bill of Materials module.
To be able to run any of the Sage 200 reports in code you will require the following minimum references:
And here is the c# code to refer all the required dll from the installation directory