Web Application Build Error: The CodeDom provider type Microsoft.VisualC.CppCodeProvider could not be located

后端 未结 12 891
有刺的猬
有刺的猬 2021-01-31 08:20

I\'m building/packing a web application in a build server, and it fails with the following message:

ASPNETCOMPILER error ASPCONFIG: The CodeDom provider t

12条回答
  •  甜味超标
    2021-01-31 08:24

    In my case I had added an angular website to my solution which caused this error.

    Resolved the error with following steps.

    On the menu bar, choose Build > Configuration Manager.

    In the Project contexts table, exclude the angular website (which contained node_modules)

    In the Build column for the project, clear the check box.

    Choose the Close button, and then rebuild the solution.

提交回复
热议问题