-
-
Notifications
You must be signed in to change notification settings - Fork 1
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Describe the Bug
The library has a dependency on git, which needs to be installed on the machine.
Steps to Reproduce
Implement a simple two-liner program that references the library from NuGet and then calls CredentialManager.Create.
Run program on dev machine -> works.
Run program on non-dev machine -> exception as shown below.
Expected Behavior
the library should work without git
OR
the required dependency to git should be mentioned in the readme.
Exception with Stack Trace
System.Exception: Failed to locate 'git.exe' executable on the path.
at GitCredentialManager.EnvironmentExtensions.LocateExecutable(IEnvironment environment, String program) in /_/src/Core/EnvironmentBase.cs:line 192
at GitCredentialManager.CommandContext.GetGitPath(IEnvironment environment, IFileSystem fileSystem, ITrace trace) in /_/src/Core/CommandContext.cs:line 189
at GitCredentialManager.CommandContext..ctor() in /_/src/Core/CommandContext.cs:line 109
at GitCredentialManager.CredentialManager.Create(String namespace) in /_/src/CredentialManager/CredentialManager.cs:line 27
Version Info
Devlooped.CredentialManager 2.6.1 from NuGet
Additional Info
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
