Visual Studio 2015 CSC错误

时间:2016-11-28 09:28:17

标签: visual-studio-2015

我一直在编码而没有任何问题,我发现我需要更新一些nuget包,在此过程中我的C:用完了空间。现在我已经清理了,我只是得到了两个奇怪的错误,但不是我的代码:

The "Csc" task could not be initialized with its input parameters.          

The "ChecksumAlgorithm" parameter is not supported by the "Csc" task. Verify the parameter exists on the task, and it is a settable public instance property.       

我尝试重启VS并且我正在运行更新3 有谁知道发生了什么事?

1 个答案:

答案 0 :(得分:2)

通过将packages.config更新库Microsoft.CodeDom.Providers.DotNetCompilerPlatform,Microsoft.Net.Compilers到更高版本来帮助我

<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.3" targetFramework="net451" />
<package id="Microsoft.Net.Compilers" version="2.0.1" targetFramework="net451" developmentDependency="true" />
</packages>