开发者

requestvalidationmode causes issue with build script

开发者 https://www.devze.com 2022-12-30 08:24 出处:网络
I added requestvalidationmode=2.0 to m开发者_如何学Cy page header. Everything works great.However when I try and build this on my build server it crashes with this message:

I added

requestvalidationmode=2.0

to m开发者_如何学Cy page header.

Everything works great. However when I try and build this on my build server it crashes with this message:

errorASPPARSE: Error parsing attribute 'requestvalidationmode': Type 'MYASPFORM' does not have a public property named 'requestvalidationmode'.

Any ideas on what could be causing this?


I think this attribute was introduced in framework 4.0, is your build server building your project with the correct framework?

0

精彩评论

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