Could someone help me diagnose this? We just upgraded Umbraco from v4.11 to v6.1.8 and are using webforms. Here is the error on the page with a Contour form macro.
\\umbracoshare\prep\wwwroot_6x\umbraco\plugins\umbracoContour\Views\Form.cshtml(28): error CS0619: 'System.Web.Mvc.HtmlHelper.AntiForgeryToken(string)' is obsolete: 'This method is deprecated. Use the AntiForgeryToken() method instead. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.'
The error occures if you upgrade Umbraco without upgrading Contour to the latest version. There is however an error in the documentation that will cause another issue. There is an xsltExtensions.config file which allows you to register 3rd party xslt extensions.
The Contour documentation says to add this line to the file:
Contour Error After Upgrade from Umbraco v4 to v6
Could someone help me diagnose this? We just upgraded Umbraco from v4.11 to v6.1.8 and are using webforms. Here is the error on the page with a Contour form macro.
\\umbracoshare\prep\wwwroot_6x\umbraco\plugins\umbracoContour\Views\Form.cshtml(28): error CS0619: 'System.Web.Mvc.HtmlHelper.AntiForgeryToken(string)' is obsolete: 'This method is deprecated. Use the AntiForgeryToken() method instead. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.'
What version of contour are you running ?
v3.0.1
The error occures if you upgrade Umbraco without upgrading Contour to the latest version. There is however an error in the documentation that will cause another issue. There is an xsltExtensions.config file which allows you to register 3rd party xslt extensions.
The Contour documentation says to add this line to the file:
<ext assembly="/bin/Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour" >
But it should be:
<ext assembly="Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour" />
is working on a reply...