Open Tasteful opened 8 years ago
Workaround is to use the -AllVersions and check if the returned versions contains the expected
(Find-Package -Id Newtonsoft.Json -ExactMatch -AllVersions).Versions -contains [NuGet.Versioning.SemanticVersion]"8.0.3"
The Find-Package ignores the
-Version
parameter. I want to use that to see if a package exists in a specific version.Environment