开发者

Upgrade to DotNetOpenAuth 3.4.6.10357 causes "CS1501: No overload for method 'OpenIdSelectorScripts' takes 3 arguments" error

开发者 https://www.devze.com 2023-02-08 19:35 出处:网络
I have recently upgraded my DotNetOpenAuth.dll to the newest version and now whe开发者_C百科n I run my site I am getting this error:

I have recently upgraded my DotNetOpenAuth.dll to the newest version and now whe开发者_C百科n I run my site I am getting this error:

CS1501: No overload for method 'OpenIdSelectorScripts' takes 3 arguments

and the line that it is on is:

<%= Html.OpenIdSelectorScripts(this, options, null) %>

Does anyone know what the correction for this should be now? Or what might have changed with the new dll?


The newest version removed the first parameter (Page). You can delete this, and it should work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号