warning MSB3214

by Xavier Pacheco 12. April 2010 08:30

I was trying to expose some .NET types through COM and kept getting the following warning:

warning MSB3214: "*.dll" does not contain any types that can be registered for COM Interop.

And of course, no types were exposed. Turns out that setting "Register for COM interop" under Project/Options is not enough. You must also specify the following in AssemblyInfo.cs

[assembly: ComVisible(true)] 

Tags:

Comments


October 11. 2011 12:08
Pingback from onlinewebanswers.org

Badass Banners For Facebook | Online Web Answers

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



This site is Hosted by WebHost4Life

Join WebHost4Life.com

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012 X Talks Tech