Building COM Visible SharePoint Components Caused TFS Build Server Error
Toggling com visibility determines how COM clients access your managed SharePoint code, and good design dictates that assemblies explicitly indicate COM visibility. While dealing with COM based SharePoint Components remember that COM is an interface-based framework, which depends on the contract being defined, and immutable, through which you access implementations.
When using Build Server, you may find that marking SharePoint components as being COM visible you may get an “access denied” error, generally when the assembly is part of the team build but not being to registered on the build server. As such, the goal is to make a build ComVisible while preventing registration of the component into a COM library. To get around this error, uncheck RegisterForComInterop in Build Tab of Project Property Page, and uncheck it for the Configuration and Platform used in Team Build.
2 Comments »
RSS feed for comments on this post. TrackBack URL





















Articles & Research
SharePoint Architecture
Personal/Off-Topic
Latest Free SharePoint Software
SecureCenter For SharePoint
SharePoint Security Assurance Program™
Free Online SharePoint Security Tools
Online SharePoint Security Health Assessment
Article Or Research Filed Under 
[...] posted here: ARB Security Solutions » Building COM Visible SharePoint … Share and [...]
Pingback by ARB Security Solutions » Building COM Visible SharePoint … | Drakz Free Online Service — January 28, 2010 @ 3:14 am
nice post. thanks.
Comment by sp tech — February 19, 2010 @ 1:21 am