简体   繁体   中英

Can't find mscomctllib in add reference

I believe this could be fairly simple to figure out, but I have been trying to for the past few hours in vain and everywhere in the net seems to point me back to here

I get exactly the same error: c:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Microsoft.Common.targets(1558,9): warning MSB3283: Cannot find wrapper assembly for type library "MSComctlLib". ========== Build: 7 succeeded or up-to-date, 1 failed, 0 skipped ==========

I try to remove and re-add the dependency to fix,but the problem is that I don't find mscomctllib when I go to add reference (com tab). Am I missing something here? Or am I looking for the wrong thing? Am running VS 2010 and converting the app from .net 2.0 to 4.0.

When you're in the COM tab under References, look for "Microsoft Windows Common Controls" or similar. Here it is on my system (Windows 7 / VS2012):

在此处输入图片说明

在此处输入图片说明

在Windows 7中,它位于C:\\ Windows \\ SysWOW64中,并且是OCX,而不是DLL,因此在VS中,当您添加引用时,单击浏览按钮并在其中查找。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM