title: .Net 5 SDK and .Net 6 SDK Side by Side Support
body: <p>I have a build server that I use to build my .Net 5 applications (with the .Net 5 SDK installed on it).</p>
  <p>I would like to install the .Net 6 SDK on that same build server and use it for building both existing .Net 5 applications and for new .Net 6 applications.</p>
  <p>But I am concerned that when I install the .Net 6 SDK, it may cause changes to the build process for .Net 5 applications.  Especially when the .Net 5 application is deployed to a server that does not have .Net 6 installed.</p>
  <p>The reason I ask this is because historically it has been a problem.
  When building two applications on the same machine, one on .Net Framework 4.0 and one on .Net Framework 4.8, there are some subtleties involved.  When you install .Net Framework 4.8, it upgrades the .Net Framework 4.0 assemblies.  Then when you build a 4.0 application, it uses 4.8 but &quot;targets&quot; 4.0 to try to make it look like .Net Framework 4.0 (for the .Net Framework 4.0 application).  But it is really .Net Framework 4.8.  This caused subtle, hard to find bugs.</p>
  <p>I am wondering if there are similar issues when building a .Net 5 and .Net 6 application on the same machine.</p>
  <p><strong>When I install the .Net 6 SDK on my build server, does it affect/upgrade the .Net 5 SDK libraries?</strong>  (Similar to how .Net Framework 4.x did.)</p>