title: can I migrate .NET Framework 4.6.1 to 4.7.2 only if change web config file?
body: <p>I have already deployed website and API in .NET</p>
  <pre><code>targetFramework=&quot;4.6.2&quot;.
  </code></pre>
  <p>This app is hosted in IIS.</p>
  <p>As <code>Framework=&quot;4.6.2&quot;</code> will be no longer supported by Microsoft after 26 April 2022, I need to update from 4.6.2 to 4.7.2.</p>
  <p>Note: I don't have source code of application to rebuild the solution.
  so I only changed in config file in IIS</p>
  <p>Current:</p>
  <pre><code>&lt;system.web&gt;
      &lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.6.2&quot; /&gt;
      &lt;httpRuntime targetFramework=&quot;4.5&quot; /&gt;
      &lt;!--... many other things --&gt;
  &lt;/system.web&gt;
  </code></pre>
  <p>Updated:</p>
  <pre><code>&lt;system.web&gt;
      &lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.7.2&quot; /&gt;
      &lt;httpRuntime targetFramework=&quot;4.5&quot; /&gt;
      &lt;!--... many other things --&gt;
  &lt;/system.web&gt;
  </code></pre>
  <p>The application is running fine I did not get any error but I am not sure this will upgrade .NET framework for my project or not ?</p>
  <p>What are the pros and cons ?</p>