user1580431
user1580431

Reputation: 13

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.

Upvotes: 1

Views: 9773

Answers (2)

Grant Winney
Grant Winney

Reputation: 66449

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):

enter image description here

enter image description here

Upvotes: 2

safetyOtter
safetyOtter

Reputation: 1460

In windows 7 it's in C:\Windows\SysWOW64 and it's an OCX not a DLL so in VS, when you go to add references, click on the browse button and look around there.

Upvotes: 0

Related Questions