Nuget package manager update 3.1.1.0 broken

前端 未结 5 1504
北海茫月
北海茫月 2020-12-30 01:05

I updated Nuget package manager to version 3.1.1.0. After the update opening any project gives me the error message: copy-item: cannot find path \'c:\\users{username}\\docum

5条回答
  •  [愿得一人]
    2020-12-30 01:13

    I got the same error in Package Manager Console and eventually found this thread.

    As the error message said, the packages ...\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\tools\lib\net45 directory is missing hence the problem.

    The "lib" directory is created directly under "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0" directory for some reason? When I moved the "lib" directory into "tools" directory, restart VS, error message gone.

提交回复
热议问题