Giter Site home page Giter Site logo

.NET v4.0 compatibility about dynamo.ioc HOT 3 CLOSED

martinf avatar martinf commented on July 23, 2024
.NET v4.0 compatibility

from dynamo.ioc.

Comments (3)

MartinF avatar MartinF commented on July 23, 2024

Hello Bert,

For now there is actually no reason for using v4.5.

Your suggestion seems like a very good idea, ill just need to try to find the time to make it happen :)

Best regards

Martin

-----Oprindelig meddelelse-----
Fra: Bert Willems [mailto:[email protected]]
Sendt: 26. juli 2012 09:21
Til: Martin From
Emne: [DynamoIOC] .NET v4.0 compatibility (#7)

Hello Martin,

In version 3 of Dynamo you switched from .NET v4.0 to v4.5 as your target framework. My current codebase is running on v4.0.

When I upgraded to 3.0.0.1 I got the following error:
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

This error is caused by the fact that the ExtensionAttribute is moved from the System.Core to mscorlib assembly. See http://stackoverflow.com/a/11265032.

I have forked this project and changed the target framework back to v4.0, compiled it and include that assembly in my project, which fixed the problem for me.

So I was wondering if you plan to use v4.5 specific APIs? If not, we could add new projects targeting the v4.0 specifically. Via NuGet we can distribute runtime specific versions, see http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#Framework_Names.

Regards,
Bert


Reply to this email directly or view it on GitHub:
#7

from dynamo.ioc.

devatwork avatar devatwork commented on July 23, 2024

hallo Martin,

i can send you a pull-request today or tomorrow.

regards,
bert

from dynamo.ioc.

devatwork avatar devatwork commented on July 23, 2024

Pull request has been send, this issue is duplicate now.

from dynamo.ioc.

Related Issues (8)

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.