Skip to content

WIF on Windows XP and Cassini

April 27, 2012

WIF isn’t officially supported on XP (and it won’t even install), but you can ~/bin deploy it (you need to for Azure deployment). So this means you can basically develop with WIF on XP, but if you’re using Cassini as your web server then you’ll run into this bizarre exception (with a lousy stack trace too):

“Type is not resolved for member Microsoft.IdentityModel.Claims.ClaimsPrincipal”

Turns out that it’s an issue with Cassini and custom IIdentity implementations. One workaround is to copy Microsoft.IdentityModel.dll to “C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0″. The other workaround is to GAC install Microsoft.IdentityModel.dll.

No comments 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 )

Connecting to %s

%d bloggers like this: