tlbimp vs. primary in VS project file

J

Joannes Vermorel

I am currently writing an Excel COM addin. It works well with Excel
2003, but somehow fails to load under Excel 2007.Here is the snippet,
extracted from the VS project file.

<ItemGroup>
<COMReference Include="Microsoft.Office.Core">
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
<VersionMajor>2</VersionMajor>
<VersionMinor>3</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
</COMReference>
</ItemGroup>

Notice that I am using "tlbimp". When, I recompile the project with
'primary', aka

<ItemGroup>
<COMReference Include="Microsoft.Office.Core">
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
<VersionMajor>2</VersionMajor>
<VersionMinor>3</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>primary</WrapperTool>
<Isolated>False</Isolated>
</COMReference>
</ItemGroup>

It seems to work under Excel 2007.

I am not sure to understand what happens here. Does someone has an
explanation?

Thanks in advance,
Joannès
http://www.lokad.com sales forecasting
 

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