DotNetOpenId openIdRelyingParty Setup

I am new to .Net and trying to set dotNetOpenID. I am just trying to get the following line to build ok without errors:

var openIdRelyingParty = new OpenIdRelyingParty();

Currently, when I build, I get the following error:

Cannot find type name or namspace'OpenIdrelyingParty '(are you missing the using directive or assembly references?)

How to fix it?

+3
source share
2 answers

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

using DotNetOpenAuth.OpenId.RelyingParty;
+2
source
+1

Source: https://habr.com/ru/post/1747702/


All Articles