Code Monkey home page Code Monkey logo

Comments (5)

grumpydev avatar grumpydev commented on August 24, 2024

Thanks for spotting this, I don't have the SDK installed on any machines at the moment but I'll have a look - I'll probably write a polyfill for it.

from tinyioc.

rodsjo avatar rodsjo commented on August 24, 2024

Hey, does not seems to be fixd yet? I downloaded the latest TinyIoC.cs today, included it in my Windows Phone 8 project, and it fails on line 3933, in the method "IsValidAssignment":

if (!registerImplementation.FindInterfaces((t, o) => t.Name == registerType.Name, null).Any())
return false;

The compile error is: "'System.Type' does not contain a definition for 'FindInterfaces' and no extension method 'FindInterfaces' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)"

Do you have a quick fix to me so I can compile the project?

from tinyioc.

grumpydev avatar grumpydev commented on August 24, 2024

@rodsjo the latest version is PCL, which include WP8, so you shouldn't have issues with that - can you try adding it to a PCL library and linking that to your project? It might need the compiler to put the reflection shims in.

from tinyioc.

rodsjo avatar rodsjo commented on August 24, 2024

@grumpydev Thanks mr. Grumpy, it worked using #define PCL :-)

from tinyioc.

grumpydev avatar grumpydev commented on August 24, 2024

Phew :)

from tinyioc.

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.