Difference between Bin and Bin40

2 posts, 1 answers
  1. Steve
    Steve avatar
    11 posts
    Member since:
    Jul 2012

    Posted 01 Jun 2015 Link to this post

    I'm looking for some clarification on the Bin and Bin40 directories.

    I a previous thread there was mention that Bin was for .net 2.0 and Bin40 was for .net 4.0, but that doesn't really explain how the directories should be used. We build under .net 4.0.  Recently in our projects, we somehow found some references to assemblies in the Bin directory that were causing exceptions.  We never reference anything in that dir... at least not intentionally. 

    Can someone explain the difference between what's in the Bin and Bin40 directories, why they exist and what developers need to know about them?   Thanks.  

    Steve

     

  2. Answer
    Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 02 Jun 2015 Link to this post

    Hi Steve,

    Thank you for writing.

    Your findings are correct. We do provide two sets of assemblies, one build for .NET versions prior 4.0 (that would be Bin) and one built for .NET 4.0 and above (that would be Bin40). Depending on your project's Target Framework, you would pick the right Telerik assemblies for the purpose.

    You can also identify whether an assembly is 2.0 or 4.0 by looking at their version suffix - 2.0 will end up with .20 e.g. 2015.1.331.20 and 4.0 will end with .40 e.g. 2015.1.331.40.

    That’s pretty much all you need. The most important thing is to never mix .20 and .40 assemblies in the same project, as this might cause issues.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

    Regards,
    Stefan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top