Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 + CRM 2011: Microsoft.IdentityModel bad reference

I've downloaded the CRM 2011 SDK and am following the instructions to get up and running, using the C# quickstart project. When I try to build it, VS complains of a reference to the above assembly, which does not appear to be on my PC (Windows 8), certainly not where expected according to the reference in the project file. When I tried to install Microsoft Identity Model it refused, indicating that it was already installed by being integrated with .NET framework 4.5.

I'm not sure where to go next - can anyone help, please?

like image 749
Simon Sellick Avatar asked Oct 04 '22 22:10

Simon Sellick


1 Answers

Windows 8 bundles the Windows Identity Foundation 3.5. However, it is not enabled by default. See Quick tip: Enable Windows Identity Foundation (Windows 8) for a description.

After that the reference should be found.

The latest version of WIF is part of .NET 4.5, so there is no dedicated installer anymore. WIF 3.5 is needed for CRM because it was an additional SDK for .NET 3.5 and .NET 4. As CRM is based on .NET 4 this is the route to follow.

I don't know why they don't have a separate installer for Windows 8 and why they have bundled it with Windows 8. Maybe this is the reason: Windows 8 and .Net Framework 3.5

like image 167
ccellar Avatar answered Oct 11 '22 21:10

ccellar