kamagra how much to take

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.


One Comment

  1. sp tech says:

    nice post. thanks.


  1. ARB Security Solutions » Building COM Visible SharePoint … | Drakz Free Online Service - [...] posted here: ARB Security Solutions » Building COM Visible SharePoint … Share and [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>