简体   繁体   中英

Visual Studio 2015 CSC errors

I've been coding away without any issues and I found I needed to update some nuget packages and during the process my C: ran out of space. Now that I've cleared up I'm just getting two bizarre errors, not with my code though:

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.       

I've tried restarting VS and I'm running update 3 Anyone know what's going on?

I was helped by updating of libraries Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Microsoft.Net.Compilers with packages.config to later versions

<?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>     

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM