title: How to fix `Your project does not reference ".NETFramework,Version=v4.6.1" framework...`
body: <p>I got this error 
  <code>Your project does not reference ".NETFramework,Version=v4.6.1" framework. Add a reference to ".NETFramework,Version=v4.6.1" in the "TargetFrameworks" property of your project file and then re-run NuGet restore.</code> after checkout a project from company repository and rebuild on my machine.<br>
  When I try to install .Net461 (downloaded from <a href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=49982" rel="noreferrer">here</a>) they said</p>
  
  <blockquote>
    <p>.NET Framework 4.6.1 or a later update is already installed on this computer.</p>
  </blockquote>
  
  <p>This is all .NET framework versions on my machine (Windows 10 1703) </p>
  
  <pre><code>PS C:\Users\longnx\Downloads&gt; &amp; '.\check-dotnet-framework-version (1).ps1'
  
  PSChildName                      Version        Release
  -----------                      -------        -------
  v2.0.50727                       2.0.50727.4927
  v3.0                             3.0.30729.4926
  Windows Communication Foundation 3.0.4506.4926
  Windows Presentation Foundation  3.0.6920.4902
  v3.5                             3.5.30729.4926
  Client                           4.7.03062      461814
  Full                             4.7.03062      461814
  Client                           4.0.0.0
  
  
  PS C:\Users\longnx\Downloads&gt;
  </code></pre>
  
  <p>How can I fix this error? </p>
  
  <hr>
  
  <p>update on 2020-05-26:<br>
  for anyone face this problem, I don't suggest this but from my experience, I've uninstalled and reinstall visual studio, and problem gone. </p>