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
220
Infragistics2.Excel.v9.2.dll conflicts with Infragistics3.Wpf.Excel.v9.2.dll when they are refered by a same project. how to solve this ?
posted

The wpf form is hosted in an elementhost in our winform app and the winform app  uses Infragistics2.Excel.v9.2.dll.  I have to put the wpf form in the winform project (it means i can not make the wpf form as a dll) . Any idea how to solve this ?

 

Ethan

Parents
  • 54937
    Offline posted

    If you're just using the Infragistics2.Excel.v9.2 assembly to programatically deal with creating/reading/manipulating an excel workbook then you could just the use the wpf version instead. If you need to have references to both in the same project (e.g. because your assembly uses both the DataPresenter Excel exporting and the wingrid excel exporting) then you could go to the project references and set an alias on the assembly reference. Then any place that you need to interact with the excel classes from the wpf version of the assembly you would prefix with your alias (e.g. wpfExcel::ExcelWorkbook).

Reply Children