views:

104

answers:

1

Hi all, I'm new to .Net and am trying to setup dotNetOpenID. I'm simply trying to get the following line to build ok without getting any errors:

var openIdRelyingParty = new OpenIdRelyingParty();

Currently when I build, I get the following error:

The tpe or namspace name'OpenIdrelyingParty' could not be found (are you missing a using directive or an assembly reference?)

How do I fix this?

+1  A: 

Make sure your project has a reference to DotNetOpenAuth.dll and add this line to the top of your code file:

using DotNetOpenAuth.OpenId.RelyingParty;
Foole