BuildTasks.Csc task could not be loaded from the assembly?

后端 未结 21 978
北荒
北荒 2020-12-13 05:15

I feel guilty asking a question like this around here, but I\'m at a loss and would appreciate some help.

A proof-of-concept like web application was built on one PC

21条回答
  •  不知归路
    2020-12-13 05:49

    In vs2017 community there appeared a new item in the "build" menu. It disappeared after I used it and was called something like "Optimise project build packages". I clicked it and it fixed everything, just restart etc. I did it on two machines.

    What it did was removed Microsoft.net.compilers 2.10.0 and replaced with Microsoft.CodeDom.Providers.DotNetCompilerPlatform 2.0.1

    So there you go - more automagic...

提交回复
热议问题