Web.config transformation: Unrecognized attribute 'xmlns:xdt'. Note that attribute names are case-sensitive

前端 未结 11 607
鱼传尺愫
鱼传尺愫 2020-12-08 03:55

I\'m getting this strange intermitent bug in a MVC 3.0 project When I build the project sometimes I get the following error message:

Unrecognized attr

11条回答
  •  既然无缘
    2020-12-08 04:30

    just remove the xmlns:xdt attribute from the web.config, but keep it in web.release.config and web.debug.config.

    Your transform will still work - and so will your website.

提交回复
热议问题