Visual Studio的库问题

问题描述 投票:0回答:1

我正在尝试使用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,但我不知道其他库是什么,也不知道如何添加库。

c# visual-studio libraries
1个回答
1
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.