I can't find the example on to configure v2008.3 to allow the Excel functionality to be used in .NET 2.0.
I would like to use this functionality but am required to use .Net 2.0.
Is there a post describing the configuration?
Yes, I use it as is, it surprised me the same way as you've been surprised... but it works (I believe) only usig the CLR2.0.
In fact I think you made a mistake because the WindowsBase.dll that is referenced is using the Runtime v2.0 but the version of the dll is 3.0...
I think the dll is not to deploy because it's part of the framework.
Hi Dialogues,
and so you're using the Infragistics sample as is? 'cause it's a bit strange: it targets .NET Framework 2.0, but it requires as a reference an assembly that comes with 3.0 installation: WindowsBase.dll ('Copy Local' is set to false, so this will not be deployed with the application...).
Are you sure your users can use your app's Excel functionality simply having .NET Framework 2.0 installed?
Thank you and sorry for the many questions... bye! Valentina
Hi Valentina,
You need indeed to create a class that implements IPackagefactory.
To find the sample, you must download and install Infragistics NetAdvantage samples.
Then, the sample you should use is into WinMisc\CS\Excel 2007 Custom Packaging CS.
I've been using it for months and it seems to work.
Hope that helps
regards.
Dialogues
Hi Mike, thank you for your reply.
Unfortunately we cannot update to CLR3. So we're trying to understand what 'implementing IPackageFactory' means... do we need to create a class that opens a XML document or what?...
I'm feeling that it would be somewhat difficult...
Thank you, bye Valentina
If you are using CLR 2, then you will need to supply an IPackageFactory, as CLR2 does not have built-in packaging support. There may be some third-party component you can buy to do the packaging for you. But personally, I'd recommend updating to CLR3 if you can - it will be a lot easier.