title: Can't change fav icon
body: <p>I have an MVC 5 project. I tried to change the default favicon. I simply deleted the old one and added in my one. The name is still the same, favicon.ico.</p>
  
  <p>However when I run the project it still shows me this old one:</p>
  
  <p><a href="https://i.stack.imgur.com/88AdU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/88AdU.jpg" alt="enter image description here"></a></p>
  
  <p>I tried adding a line of CSS to the shared layout file or an individual html file, but both times it did not work. This is the line of CSS that I used, the favicon is saved on the same level as the content, controller, ... folders. </p>
  
  <pre><code>&lt;link rel="icon" href="~/favicon.ico" type="image/x-icon" /&gt;
  </code></pre>
  
  <p>What am I doing wrong? </p>