dotnet / dotnet/Docker.DotNet

Can't use Docker.DotNet.X509 with Docker.DotNet 3.125.4

Open
#463 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
416
PR merge metrics
No merged PRs in 30d

Description

**What version of Docker.DotNet?:**

```
3.125.4
```

**Steps to reproduce the issue:**
1. Install Docker.DotNet 3.125.4 and last version of Docker.DotNet.X509 (3.125.2) in the same project
2. Create docker client with certificate credentials
```
var credentials = new CertificateCredentials(clientCertificate);
var configuration = new DockerClientConfiguration(uri, credentials, m_Options.Timeout.GetValueOrDefault());

return configuration.CreateClient();
```
3. This code with fail with exception
```
System.IO.FileNotFoundException: Could not load file or assembly 'Docker.DotNet, Version=3.125.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'Docker.DotNet, Version=3.125.2.0, Culture=neutral, PublicKeyToken=null'
```

**Additional information:**
Probably you should bump up the version of Docker.DotNet.X509 package and update its dependency on Docker.DotNet.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.