Question

I have a .NET Framework 2.0 app and would like to use the Windows Imaging Component. Since my application is a WinForms app and will be redistributed to users via an MSI installer I'm trying to figure out the best way to do this.

I see a couple of options: 1) Skip .NET 2.0 and build on .NET 3.0 which includes the Windows Imaging Component 2) Figure out a way to include the WIC component with my installer

Thoughts?

Was it helpful?

Solution

WIC is built into Windows Vista so you don't need to distribute it for Vista machines. For XP it is available as download from Microsoft here.

OTHER TIPS

I'm not familiar with WIC but can you just set the Copy Local property on the reference to true? I would assume that the needed assembly would then be available to you when you create your MSI.

My solution would probably just be to build on the newer framework. I believe MSI can be setup to install it if necessary.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top