Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CLS compliant

Posted on 2016-08-23
3
Medium Priority
?
47 Views
Last Modified: 2016-08-23
I have two VB projects.   Both are using TAPI3 library.   In one project when I declare my TAPI object variables, I get compiler error about type of member not being CLS compliant.

Can anyone please tell me what this means, and how do I get around it?
0
Comment
Question by:HLRosenberger
  • 2
3 Comments
 
LVL 45

Accepted Solution

by:
AndyAinscow earned 2000 total points
ID: 41767536
I guess you have a different setting in one project when compared to the other.

https://msdn.microsoft.com/en-us/library/bhc3fa7f.aspx
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41767603
you are correct.  One has <Assembly: CLSCompliant(True)>  in the AssemblyInfo.vb.

Thanks!
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 41767604
thanks.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question