question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet add package String reference error

See original GitHub issue

From @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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
peterhuenecommented, Dec 2, 2017

Whoops, thanks for the mention fix 😁

0reactions
mairawcommented, Dec 2, 2017

@gregdegruy FYI, in case you wanna test if the issue you originally reported has been fixed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found