Interop.Microsoft.Office.Core problem

I have a project I made in VS 2003 and am converting it to VS2k5. The same library I use in 2k3 does not work in 2k5 it seems. It is runtime version 1.1.4322 and lib version 2.3. I get the following error:

The type 'Microsoft.Office.Core.CommandBars' is defined in an assembly that is not referenced. You must add a reference to assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.

Anyone know if I need to use a new lib for .NET 2.0 or VS 2k5

Brandon



Answer this question

Interop.Microsoft.Office.Core problem

  • gauer

    I tried many times. It doesnt have a yellow ! on it either. :(

  • TandyBoy

    Hi,

    I think that you should simply try to add the refference to the office assembly again.

    Max



  • Interop.Microsoft.Office.Core problem