Upgrading from one build of FIM to another

I know FIM is not out yet and I am talking about upgrades from one build to another. The situation I was facing is an upgrade form RC0 to RC1 build.

I’ve have coded several custom activities for FIM that referenced several DLLs from FIM portal. One of them was Microsoft.IdentityManagement.WFExtensionInterfaces.dll

When a custom activity referenced to the Microsoft.IdentityManagement.WFExtensionInterfaces.dll form RC0 build, and then was copied to RC1 build without re-compiling it with a reference to a new version of DLL (from RC1) the activity will not display in Portal and will fail to initialize.

The problem is in version redirection settings.  To resolve this problem I had to modify web.config file by adding following statement:

<dependentAssembly>
        <assemblyIdentity name="Microsoft.IdentityManagement.WFExtensionInterfaces" publicKeyToken="XXYY11XXYY11XXYY" culture="neutral" />
       
<bindingRedirect oldVersion="4.0.0.X-X.XXXXX.XXXXX.XXXXX" newVersion="4.0.XXXX.X" />
</dependentAssembly>

I’ve modified actual values of publicKeyToken, oldVersion and newVersion attributes to protect the innocent, so to speak. You’ll have to do your-own look up in GAC and properties of your DLLs.

 

Happy coding!

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: