javasoul
javasoul

Reputation: 37

Can more than one CLR version be present in a single machine?

i faced this question in an interview, Is it possible to have more than one version of CLR in a single machine? pls provide me the details if u know - i mean if its not possible why? otherwise by default which one will be used?. Thanks!

Upvotes: 3

Views: 464

Answers (2)

Mamta D
Mamta D

Reputation: 6450

From MSDN

Starting with the .NET Framework version 4, you can use in-process side-by-side hosting to run multiple versions of the common language runtime (CLR) in a single process.

http://msdn.microsoft.com/en-us/library/ee518876.aspx

Upvotes: 2

Peter
Peter

Reputation: 38465

Yes you can install 1.0, 1.1, 2.0 (up to 3.5) and 4.0 in the same machine...

But you can only host one version in each process (not sure if this changed with 4.0)..

Edit: A assembly is compiled against a specific CLR version and that CLR version will be used..

Upvotes: 4

Related Questions