If you plan on writing anything that uses the CRM 2011 SDK, you may at some point run into the following error message:
The application terminated with an error.
Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Solution:
You need to install the Windows Identity Foundation which contains a referenced assembly then add that assembly as a reference to your project.





I've found that installing the WIF is enough. Once installed, I don't need to add the assembly as a reference
Jason, I think you are correct.
Thanks its working!
Mitch
I tried installing it ,but couldn't even download the file .I have Windows XP and I tried the Windows6.1-KB974405-x86.msu . wrong pointer to the link
pearse, you need to look at the requirements at the bottom of that page. Windows XP is not supported. The minimum is Vista.
One option is to copy the Microsoft.IdentityModel DLL from a Win 7 or Win 2008 install and install into the GAC on your XP machine. This fixed it for me.
[...] is actually a repost from this article, but it seems a lot of people are running into the error so I thought I'd repost [...]
[...] the complete post at http://blogs.infinite-x.net/2010/11/29/crm-2011-sdk-development-and-microsoft-identitymodel-assembly… Development, Dynamics CRM, CRM 2011, MSCRM, MSCRM2011 // About the [...]