COM Add-ins, VS 2008 and .NET Framework 2.0

X

XL-Dennis

Hi all,

When I create a new COM add-in based on the Shared Add-in template in VS
2008 Professional and select .NET Framework 2.0 I get problem to deploy the
solution on configuration where .NET Framework 2.0 only is installed.

The message that is showed during installation is that .NET Framework 3.5
must be installed before it can proceed.

I have tested on both Windows XP SP-3 and on Windows Vista SP-1 with the
same output.

On configurations with 2.0 and 3.5 or 3.0 and 3.5 versions of .NET Framework
the installation goes well.

As for the solution itself:
- All the references in the solutions is to version 2.0 of .NET Framework.
- The target Framework in the Advanced Compiler Settings is set to .NET
Framework 2.0.
- The prerequisites are either turned off or set to version 2.0 of .NET
Framework together with the Windows Installer 3.1

I could accept that when selecting the targeting version to 2.0 I would not
be able to create a COM add-in and instead be forced to use version 3.5.

But as it is now I would like to know how I can resolve it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top