SecurityManager.2005 not recognized when referenced from .NET4 Client Profile project

Add-in Express™ Support Service
That's what is more important than anything else

SecurityManager.2005 not recognized when referenced from .NET4 Client Profile project
 
Jean-Fran?ois Davignon


Software Engineer


Posts: 4
Joined: 2010-09-26
SecurityManager.2005 not recognized when referenced from .NET4 Client Profile project

We are upgrading our application to use the .NET4 framework and we want to use the Client Profile to minimize the chances our users will have to download the .NET4 framework and if so have a smaller download.

However, the SecurityManager.2005 interop is not recognized when building against the Client Profile. It works fine if you build against the full framework.

I can generate a new interop from secman.dll typelib but is there a .NET4 Client Profile version of SecutityManager.2005?
Jean-Fran?ois Davignon
Software Architect
InGenius Software Inc.
www.InGenius.com
Posted 29 Jul, 2011 07:31:53 Top
Renat Tlebaldziyeu


Guest


Hello Jean-Fran?ois,

What version (with build number, please) of Outlook Security Manager do you use?
Posted 29 Jul, 2011 07:44:32 Top
Jean-Fran?ois Davignon


Software Engineer


Posts: 4
Joined: 2010-09-26
osmnet-v600-b3014.msi

Visual Studio spews out the following message:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "SecurityManager.2005, Version=6.0.3014.2005, Culture=neutral, PublicKeyToken=aa42cad61af07cf4, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
Jean-Fran?ois Davignon
Software Architect
InGenius Software Inc.
www.InGenius.com
Posted 29 Jul, 2011 08:11:46 Top
Renat Tlebaldziyeu


Guest


It looks like you use an old build of Outlook Security Manager 2010.
Support for the .NET4 Client Profile was added in the latest build (it's 6.1.3016) of Security Manager. You can download the latest build from our web-site, here is the download page:
http://www.add-in-express.com/downloads/osm.php
Posted 29 Jul, 2011 08:25:32 Top
Jean-Fran?ois Davignon


Software Engineer


Posts: 4
Joined: 2010-09-26
Thanks, Ill try it out right now.

JF
Jean-Fran?ois Davignon
Software Architect
InGenius Software Inc.
www.InGenius.com
Posted 29 Jul, 2011 08:28:27 Top
Renat Tlebaldziyeu


Guest


You are welcome, Jean-Fran?ois!
Posted 29 Jul, 2011 08:31:13 Top