dotnet add package String reference error
See original GitHub issueFrom @gregdegruy on October 10, 2017 21:12
String reference error
Notice how there is no proper string replacement done below.
Error while adding package '{0}' to project '{1}'
Would like to help fix, but not sure where the repo or if it is open source for the ERROR handling in the dotnet CLI.
Error
C:\GitHub\_mr.robot\DYN.Gamification\DYN.Gamification [master ≡ +2 ~2 -0 !]> dotnet add package Microsoft.CrmSdk.CoreAssemblies --version 8.2.0.2
Writing C:\Users\grdegr\AppData\Local\Temp\tmp399F.tmp
info : Adding PackageReference for package 'Microsoft.CrmSdk.CoreAssemblies' into project 'C:\GitHub\_mr.robot\DYN.Gamification\DYN.Gamification\DYN.Gamification.csproj'.
error: Error while adding package '{0}' to project '{1}'. dotnet add package command supports adding package to one project at a time. But no project was found at the project path '{0}'.
C:\GitHub\_mr.robot\DYN.Gamification\DYN.Gamification [master ≡ +2 ~2 -0 !]>
Copied from original issue: dotnet/docs#3368
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
NuGet add reference error while installing packages
I receive same error while installing every package from console or gui. Reinstalling nuget, disabling other extentions and running VS as admin ...
Read more >Troubleshooting NuGet Package Restore in Visual Studio
This error occurs when you attempt to build a project that contains references to one or more NuGet packages, but those packages are...
Read more >NuGet Error NU5010
Version string specified for package reference '9.9.9.9.9' is invalid. Issue. The version string given to NuGet pack operation is not a valid ...
Read more >Known Issues with NuGet
Error installing packages with NuGet 3.4, 3.4.1. Problem: ... Rolling back... install-package : Input string was not in a correct format.
Read more >Troubleshoot .NET Framework targeting errors
This article provides resolutions for MSBuild errors that might occur because of reference issues.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Whoops, thanks for the mention fix 😁
@gregdegruy FYI, in case you wanna test if the issue you originally reported has been fixed.