title: jQuery IntelliSense Stopped Working in VS2019
body: <p>I have a large .NET Core 2.0 project which uses jQuery. <strong>All jQuery in the project works perfectly fine during run-time.</strong></p>
  
  <p>However, something changed that caused my jQuery IntelliSense to stop working in VS2019 (regardless of typing "jQuery" or the "$" shorthand in my code). I unfortunately cannot locate the change.</p>
  
  <p><a href="https://i.stack.imgur.com/rOOQ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rOOQ3.png" alt="enter image description here"></a></p>
  
  <p>My jquery.js/jquery.min.js files are located in wwwroot/lib/jquery/dist and referenced throughout the site in _Layout.cshtml. </p>
  
  <p>According to <a href="https://docs.microsoft.com/en-us/visualstudio/ide/javascript-intellisense?view=vs-2019" rel="nofollow noreferrer">the VS2019 documentation</a>:</p>
  
  <blockquote>
    <p>By default, the Salsa language service will try to detect which JavaScript libraries are in use and automatically download and reference the corresponding .d.ts file that describes the library in order to provide richer IntelliSense. The files are downloaded to a cache located under the user folder at %LOCALAPPDATA%\Microsoft\TypeScript.</p>
  </blockquote>
  
  <p>...and yes, jQuery is there as expected: </p>
  
  <p><a href="https://i.stack.imgur.com/HmpmY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HmpmY.png" alt="enter image description here"></a> </p>
  
  <p>I've tried restarting VS2019 and my PC, batch clean/rebuild and resetting the JavaScript/Typescript checkboxes in the options and <a href="https://stackoverflow.com/questions/18289936/refreshing-the-auto-complete-intellisense-database-in-visual-studio">refreshing the Intellisense</a> by deleting the .vs folder and restarting.</p>
  
  <p><em>Note that JavaScript IntelliSense is working as expected.</em></p>
  
  <p>Any ideas?</p>