Visual Studio 的库问题

ksm*_*les 5 c# visual-studio libraries

我正在尝试使用 Visual Studio 构建项目,但出现以下两个错误:

C:\secrets\Microsoft.Common.CurrentVersion.targets(2545,5): warning MSB3284: Cannot get the file path for type library "00020813-0000-0000-c000-000000000046" version 1.9. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) C:\secrets\Microsoft.Common.CurrentVersion.targets(2545,5): warning MSB3283: Cannot find wrapper assembly for type library "VBIDE". Verify that (1) the COM component is registered correctly and (2) your target platform is the same as the bitness of the COM component. For example, if the COM component is 32-bit, your target platform must not be 64-bit.

我知道这意味着缺少两个库,其中一个称为 VBIDE,但我不知道另一个库是什么,也不知道如何添加这些库。

Ber*_*rme 2

在“解决方案资源管理器”上,单击“显示所有文件”,单击“引用”,选择“VBIDE”,右键单击它并删除它。