none
Just updated VS2019 to v16.2.0 and now getting Build Errors MSB4064 & MSB4063 RRS feed

  • Question

  • I just updated VS 2019 and now my application Ive been working on won't build.

    I am getting the following two errors..

    Severity Code Description Project File Line Suppression State
    Error MSB4064 The "Nullable" parameter is not supported by the "Csc" task. Verify the parameter exists on the task, and it is a settable public instance property.

     

    Error MSB4063 The "Csc" task could not be initialized with its input parameters. RoslynDDDCodeGenerator C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets 59

    Microsoft Visual Studio Community 2019
    Version 16.2.0
    VisualStudio.16.Release/16.2.0+29123.88
    Microsoft .NET Framework
    Version 4.8.03752

    Installed Version: Community

    ADL Tools Service Provider   1.0
    This package contains services used by Data Lake tools

    Application Insights Tools for Visual Studio Package   9.1.00611.1
    Application Insights Tools for Visual Studio

    ASP.NET and Web Tools 2019   16.2.290.48383
    ASP.NET and Web Tools 2019

    ASP.NET Web Frameworks and Tools 2019   16.2.290.48383
    For additional information, visit https://www.asp.net/

    Azure App Service Tools v3.0.0   16.2.290.48383
    Azure App Service Tools v3.0.0

    Azure Data Lake Node   1.0
    This package contains the Data Lake integration nodes for Server Explorer.

    Azure Data Lake Tools for Visual Studio   2.3.9000.0
    Microsoft Azure Data Lake Tools for Visual Studio

    Azure Functions and Web Jobs Tools   16.2.290.48383
    Azure Functions and Web Jobs Tools

    Azure Stream Analytics Tools for Visual Studio   2.3.9000.0
    Microsoft Azure Stream Analytics Tools for Visual Studio

    C# Tools   3.2.0-beta4-19359-03+15b43b33901c88f68ef43f8314b5a2457716780d
    C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

    Common Azure Tools   1.10
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

    Fabric.DiagnosticEvents   1.0
    Fabric Diagnostic Events

    IntelliCode Extension   1.0
    IntelliCode Visual Studio Extension Detailed Info

    Microsoft Azure HDInsight Azure Node   2.3.9000.0
    HDInsight Node under Azure Node

    Microsoft Azure Hive Query Language Service   2.3.9000.0
    Language service for Hive query

    Microsoft Azure Service Fabric Tools for Visual Studio   2.5
    Microsoft Azure Service Fabric Tools for Visual Studio

    Microsoft Azure Stream Analytics Language Service   2.3.9000.0
    Language service for Azure Stream Analytics

    Microsoft Azure Stream Analytics Node   1.0
    Azure Stream Analytics Node under Azure Node

    Microsoft Azure Tools   2.9
    Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v2.9.20626.2

    Microsoft Continuous Delivery Tools for Visual Studio   0.4
    Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

    Microsoft JVM Debugger   1.0
    Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

    Microsoft Library Manager   1.0
    Install client-side libraries easily to any web project

    Microsoft MI-Based Debugger   1.0
    Provides support for connecting Visual Studio to MI compatible debuggers

    Microsoft Visual Studio Tools for Containers   1.1
    Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

    Node.js Tools   1.5.10610.1 Commit Hash:529a87de2769e143655e31ea81795c42e5775ef8
    Adds support for developing and debugging Node.js apps in Visual Studio

    NuGet Package Manager   5.2.0
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

    ProjectServicesPackage Extension   1.0
    ProjectServicesPackage Visual Studio Extension Detailed Info

    ResourcePackage Extension   1.0
    ResourcePackage Visual Studio Extension Detailed Info

    ResourcePackage Extension   1.0
    ResourcePackage Visual Studio Extension Detailed Info

    SQL Server Data Tools   16.0.61906.28070
    Microsoft SQL Server Data Tools

    ToolWindowHostedEditor   1.0
    Hosting json editor into a tool window

    TypeScript Tools   16.0.10627.2001
    TypeScript Tools for Microsoft Visual Studio

    Visual Basic Tools   3.2.0-beta4-19359-03+15b43b33901c88f68ef43f8314b5a2457716780d
    Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

    Visual F# Tools 10.4 for F# 4.6   16.2.0-beta.19321.1+a24d94ecf97d0d69d4fbe6b8b10cd1f97737fff4
    Microsoft Visual F# Tools 10.4 for F# 4.6

    Visual Studio Code Debug Adapter Host Package   1.0
    Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

    Visual Studio Tools for Containers   1.0
    Visual Studio Tools for Containers

    Visual Studio Tools for Kubernetes   1.0
    Visual Studio Tools for Kubernetes

    Friday, July 26, 2019 1:30 AM

All replies

  • Hi JKLarue,

    Sorry for delay in reply.

    According to your description, did you develop application with .NET CORE? If so, please download the latest .net core SDK preview7.

    If I misunderstand it, could you share more details to help us analysis this issue, for example the project type?

    Any feedback will be expected.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, July 29, 2019 9:14 AM
  • Hi friend,

    Any update for this issue? I found a similar issue in Developer Community, maybe you can get some help from it.

    It seems that this issue is related to the Microsoft.Net.Compilers package, do you reference this package in your project?  If so, please update your package to use latest 3.2.0 version or 3.3.0 beta version, then this issue can be resolved.

    Hope it helps and if you have any msbuild issue, please feel free to share here.

    Best Regards

    Lance


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, August 2, 2019 5:23 AM
  • I just downloaded the latest 3.0 beta release. then I created a new project to test out changes, improvements and bug fixes to Blazor. Hit F5 to verify that I was at a good starting point and saw the same errors. 

    Severity Code Description Project File Line Suppression State
    Error

    MSB4064 The "Nullable" parameter is not supported by the "Csc" task. Verify the parameter exists on the task, and it is a settable public instance property. Todo.Client C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Microsoft.NET.Sdk.Razor.Component.targets 223
    Error

    MSB4063 The "Csc" task could not be initialized with its input parameters. Todo.Client C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Microsoft.NET.Sdk.Razor.Component.targets 189
    Error

    Could not find file 'C:\Apps\Bzr1\Todo\Todo.Client\bin\Debug\netstandard2.0\Todo.Client.dll'. Todo.Server C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Microsoft.NET.Sdk.Razor.MvcApplicationPartsDiscovery.targets 54

    Monday, August 19, 2019 4:05 PM