Compilation Error when change .Net framework from 4.5.2 to 4.5 in VS 2015 Community edition

前端 未结 4 603
长情又很酷
长情又很酷 2021-01-04 19:14

After changing my .Net framework from 4.5.2 to 4.5 in VS 2015 Community edition. I am getting following error. Did anyone know what is the issue and how to solve this. Look

4条回答
  •  一生所求
    2021-01-04 19:39

    This solution also worked for me. Window 10 Visual studio 2013 .Net framework 4.5

    Go to each project property -> Build -> Advance and change the language version to C# 5.0 Open web.config for the startup project (MVC in my case) and remove the codedom section that contain the custom compile information This fix my issue.

提交回复
热议问题