By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,333 Members | 1,850 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,333 IT Pros & Developers. It's quick & easy.

Build Error after updating to Custom Wrapper

P: n/a
Hello,

I use a COM-based ActiveX control as part of a C# Controls project. Part of
this control is a ListView, and the ActiveX control has a property that
returns the ListItems of this control.

I had the following Build warning:
"The referenced component 'MSComctlLib' has an updated custom wrapper
available."

Before using the wrapper, everything worked fine. I have a number of cases
where I access the Count property of the ListItems.

After updating to use the wrapper, I can no longer build my project.
Anytime I try to access the Count property of the ListItems, I get an error:
"'mscomctl.ListItems' does not contain a definition for 'Count'"

I reverted to my old code (retrieving the entire project/solution from
SourceSafe), but still have this issue. That leads me to believe that it is
something that is cached (in the GAC?) that is now causing the problem, but
I'm not sure how to proceed (to remove whatever is being cached).

Any ideas would be most appreciated, as I can no longer build or debug using
this code.

Thanks,
pagates
Jan 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.