Code Monkey home page Code Monkey logo

Comments (7)

jgarverick avatar jgarverick commented on August 24, 2024

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.

jchannon avatar jchannon commented on August 24, 2024

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.

ahmetb avatar ahmetb commented on August 24, 2024

Interesting, I developed this library in Mono on OS X.

from docker.dotnet.

jchannon avatar jchannon commented on August 24, 2024

Not sure what the issue was, seems ok now

from docker.dotnet.

jchannon avatar jchannon commented on August 24, 2024

I've got the error back here's a screenshot with code and result in the terminal

screen shot 2015-05-20 at 14 58 42

from docker.dotnet.

jchannon avatar jchannon commented on August 24, 2024

Looks like the issue is Xamarin Studio in that it wasn't copying System.Net.Http into the bin directory

from docker.dotnet.

adebasi avatar adebasi commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.