Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes. The <a href="http://www.west-wind.com/weblog/posts/2012/Mar/13/NET-45-is-an-inplace-replacement-for-NET-40" rel="noreferrer">version of the CLR changes</a> from <code>4.0.30319.269</code> to <code>4.0.30319.17379</code>. So, the CLR is new, but it is backwards-compatible with the .NET 4.0 CLR. You shouldn't need to re-compile any code written for and compiled by .NET v4.0.</p> <p>From the <a href="http://msdn.microsoft.com/en-us/library/bb822049(v=vs.110).aspx" rel="noreferrer"><em>.NET Framework Versions and Dependencies</em></a> page on MSDN:</p> <blockquote> <p>The .NET Framework 4.5 RC is an in-place update that replaces the .NET Framework 4 on your computer. After you install this update, your .NET Framework 4 apps should continue to run without requiring recompilation. However, some changes in the .NET Framework may require changes to your app code.</p> </blockquote> <p>Additionally, from the <a href="http://blogs.msdn.com/b/dotnet/archive/2011/09/26/compatibility-of-net-framework-4-5.aspx" rel="noreferrer">.NET Framework blog</a>:</p> <blockquote> <p>.NET Framework 4.5 is an in-place update that replaces .NET Framework 4 (rather than a side-by-side installation). Our goal is for .NET 4.5 to be fully backward compatible with applications built for .NET 4</p> </blockquote> <p>There are some changes that are <em>not</em> backwards compatible. See the <em><a href="http://msdn.microsoft.com/en-us/library/hh367887(v=VS.110).aspx" rel="noreferrer">Application Compatibility in the .NET Framework 4.5 RC</a></em> page on MSDN.</p> <p>Official guidance from Microsoft, and good coding practice, is not to detect specific versions of the CLR. Rather, you should detect if certain features are present. Instead of</p> <pre><code>public static bool IsDotNet45() { return Environment.Version.Major == 4 &amp;&amp; Environment.Version.Revision &gt; 17000; } </code></pre> <p>do something like:</p> <pre><code>public static bool SupportsReflectionContext() { // Class "ReflectionContext" exists from .NET 4.5 onwards. return Type.GetType("System.Reflection.ReflectionContext", false) != null; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload