Error opening Package Management Console

2

When I open Package Manage Console it gives me the following message:

  

Join-Path: Can not convert 'System.Object []' to the type 'System.String' required by parameter 'ChildPath'. Specified method is not supported.   C: \ Users \ renan.carlos \ Source \ Repos \ CodingCraft \ ExercisesCodingCraft \ packages \ Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0 \ tools \ init.ps1: 13 char: 57   + ... rPackageDirectory = Join-Path $ packageDirectory $ compilerPackage.Name   + ~~~~~~~~~~~~~~~~~~~~~       + CategoryInfo: InvalidArgument: (:) [Join-Path], ParameterBindingException       + FullyQualifiedErrorId: CannotConvertArgument, Microsoft.PowerShell.Commands.JoinPathCommand

     

Join-Path: Can not bind argument to parameter 'Path' because it is null.   C: \ Users \ renan.carlos \ Source \ Repos \ CodingCraft \ ExercisesCodingCraft \ packages \ Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0 \ tools \ init.ps1: 14 char: 44   + ... erPackageToolsDirectory = Join-Path $ compilerPackageDirectory 'tools'   + ~~~~~~~~~~~~~~~~~~~~~~~~~       + CategoryInfo: InvalidData: (:) [Join-Path], ParameterBindingValidationException       + FullyQualifiedErrorId: ParameterArgumentValidationErrorNullNotAllowed, Microsoft.PowerShell.Commands.JoinPathCommand

I want to know what this means and if it is a mistake? and how to solve it?

    
asked by anonymous 19.12.2016 / 14:19

1 answer

1

Run this command to update the package:

Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
    
21.01.2017 / 00:35