This is a migrated thread and some comments may be shown as answers.

Difference between Bin and Bin40

1 Answer 730 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
RTA
Top achievements
Rank 1
RTA asked on 01 Jun 2015, 06:13 PM

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

 

1 Answer, 1 is accepted

Sort by
1
Accepted
Stefan
Telerik team
answered on 02 Jun 2015, 05:55 AM
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
Tags
General Discussions
Asked by
RTA
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or