Warning: The referenced component 'Microsoft.Office.Core' could not be found

后端 未结 2 898
刺人心
刺人心 2021-01-17 09:08

When building one of my projects, I\'m getting the following warnings:

Warning 3   Cannot find wrapper assembly for type library \"Microsoft.Office.Core\".
W         


        
相关标签:
2条回答
  • 2021-01-17 09:30

    It appears to be a COM reference? I'd guess the update caused the reference to be considered out of date.

    If so i'd consider building the interops manually and checking them in, then adding references to the interops. The downside is that will move the problem from compile time to run time.

    0 讨论(0)
  • 2021-01-17 09:46

    most likely one of your reference was updated to new version, so the current version can not be found.

    Click "project****Properties\reference" and remove the one can not be found is ok.

    0 讨论(0)
提交回复
热议问题