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
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).
Hey Andrew , I tried this way before but it doesn't work with visual studio 2008 if I don't modify the compile parameters locally , however , we use Cruise control and it is no way to convince the source manage guy to change the parameters on the source server .
Thanks anyway .