Error opening Package Manage Console

Asked

Viewed 145 times

2

When I open the Package Manage Console give me the following message:

Join-Path : Cannot Convert 'System.Object[]' to the type 'System.String' required by Parameter 'Childpath'. Specified method is not supported. At C: Users Renan.carlos Source Repos Codingcraft Exercicioscodingcraft 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 : Cannot bind argument to Parameter 'Path' because it is null. At C: Users Renan.carlos Source Repos Codingcraft Exercicioscodingcraft 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 that means and if it comes to be a mistake? and how to solve it?

1 answer

1

Run this command to update the package:

Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
  • I tested it here, but it didn’t work

Browser other questions tagged

You are not signed in. Login or sign up in order to post.