Method TryGetPackageVersion
TryGetPackageVersion(string, out string)
Get the version of the specfiied package name/ assembly name.
Declaration
public static bool TryGetPackageVersion(string targetPackageNameOrAssemblyName, out string version)
Parameters
| Type | Name | Description |
|---|---|---|
| string | targetPackageNameOrAssemblyName | |
| string | version |
Returns
| Type | Description |
|---|---|
| bool | Whether the specified package is found |