The “EnsureBindingRedirects” task failed unexpectedly

后端 未结 14 2150
甜味超标
甜味超标 2021-02-06 20:56

When I create new ASP.NET 4.5 web forms application from vs2012 and update all nuget packages, I receive this error on build:

14条回答
  •  天涯浪人
    2021-02-06 21:50

    The following steps can be performed to solve the issue:

    1. Update the "Microsoft.Bcl.Build" package to the latest version.
    2. Make sure you have an App.config/Web.config file under your project and it also exists physically in a relevant folder on your machine.
    3. Make sure there are no special characters in the App.config/Web.config file. If they exist you need to replace them. Look at this article -> https://support.crossref.org/hc/en-us/articles/215652783-Special-characters-in-your-XML
    4. In App.config/Web.config file under each add the following key-value pair: culture="neutral" to .
    5. Another step that describes how to fix your unique case and has been not described above :)

    I hope this helps.

提交回复
热议问题