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

前端 未结 11 610
鱼传尺愫
鱼传尺愫 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:53

    I've also run into this issue. For me it was caused by my having created a new debug configuration called, "DevDebug". I fixed it by making a copy the web.debug.config, named web.DevDebug.config and added it to the project.

    Then, when I attempted to run the aspnet compiler, it was satisfied that it could find the right configuration version of the config file to merge in.

提交回复
热议问题