Comments (7)
Interesting. What version of Mono are you working with? Are you going
command line or using Xamarin Studio or another IDE?
On Tue, May 19, 2015 at 6:39 AM Jonathan Channon [email protected]
wrote:
Is this lib Mono compatible?
Seems to create a client fine on Windows but I get this on OSX
Could not load type 'Docker.DotNet.AnonymousCredentials' from assembly
'Docker.DotNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.—
Reply to this email directly or view it on GitHub
#24.
from docker.dotnet.
I'm on 3.12.1 on OSX with Xamarin
On Tuesday, 19 May 2015, Josh Garverick [email protected] wrote:
Interesting. What version of Mono are you working with? Are you going
command line or using Xamarin Studio or another IDE?
On Tue, May 19, 2015 at 6:39 AM Jonathan Channon <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>
wrote:Is this lib Mono compatible?
Seems to create a client fine on Windows but I get this on OSX
Could not load type 'Docker.DotNet.AnonymousCredentials' from assembly
'Docker.DotNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.Reply to this email directly or view it on GitHub
#24.Reply to this email directly or view it on GitHub
#24 (comment)
.
from docker.dotnet.
Interesting, I developed this library in Mono on OS X.
from docker.dotnet.
Not sure what the issue was, seems ok now
from docker.dotnet.
I've got the error back here's a screenshot with code and result in the terminal
from docker.dotnet.
Looks like the issue is Xamarin Studio in that it wasn't copying System.Net.Http into the bin directory
from docker.dotnet.
I have the same problem while running tests on our bamboo
02-Nov-2015 18:18:56 Runtime Environment -
02-Nov-2015 18:18:56 OS Version: Unix 3.13.0.65
02-Nov-2015 18:18:56 CLR Version: 4.0.30319.17020 ( Mono 4.0 ( 4.0.4 (Stable 4.0.4.1/5ab4c0d Tue Aug 25 23:11:51 UTC 2015) ) )
02-Nov-2015 18:18:56
02-Nov-2015 18:18:56 ProcessModel: Default DomainUsage: Single
02-Nov-2015 18:18:56 Execution Runtime: mono-4.0
02-Nov-2015 18:18:57 .F....
02-Nov-2015 18:18:57 Tests run: 5, Errors: 1, Failures: 0, Inconclusive: 0, Time: 0.1476902 seconds
02-Nov-2015 18:18:57 Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
02-Nov-2015 18:18:57
02-Nov-2015 18:18:57 Errors and Failures:
02-Nov-2015 18:18:57 1) TearDown Error : <Testclass>
02-Nov-2015 18:18:57 SetUp : System.TypeLoadException : Could not load type 'Docker.DotNet.AnonymousCredentials' from assembly 'Docker.DotNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Based on @jchannon posts I checked for the System.Net.Http.dll:
UPDATE:
I configured Visual Studio to set "Copy local" for System.Net.Http to true. This fixes the error for me too.
from docker.dotnet.
Related Issues (20)
- Any plan for System.Text.Json? HOT 7
- /bin/bash: sudo test -f /repositories/gubbins/file.txt && echo true: No such file or directory
- [Question] equivalent api for docker service ps --no-trunc [swarm service name] HOT 2
- Not able to bind port to HostIp HOT 1
- What units are HealthConfig.StartPeriod in? HOT 1
- How to copy output from a container (E.g. output of an ML model) to the host machine
- Is there a way to manage stacks?
- README.md needs update because client.System.MonitorEventsAsync method is returning void not Stream.
- MonitorEventsAsync Progress Action is one event behind HOT 6
- Container does not receive stdin input
- .net8 build an image problem HOT 1
- BuildImageFromDockerFileAsync does not tag images correctly
- Container filters can't be negated HOT 6
- ServiceCreationMode is missing replicated-job and global-job
- Swarm.CreateServiceAsync doesn't return "Version" which means unable to do an UpdateServiceAsync afterwards
- .Net 8 upgrade: error occurred during the pre-login handshake
- Is this project alive? HOT 7
- How do I publish a random port? HOT 1
- NullReference Error in ListContainersAsync HOT 2
- docker run paramteres
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.dotnet.