title: Microsoft.CodeAnalysis failed to load file
body: <p>I have downloaded sample Asp.net  project from the git repository and try to build in the local machine VS 2017
  below is the error it is showing</p>
  
  <p><img src="https://i.stack.imgur.com/Uobg7.png" /></p>
  
  <blockquote>
    <p>Error CS8032  An instance of analyzer
    Microsoft.AspNetCore.Mvc.Analyzers.AvoidHtmlPartialAnalyzer cannot be
    created from
    C:\Users\avinash.nuget\packages\microsoft.aspnetcore.mvc.analyzers\3.0.0-alpha1-10670\analyzers\dotnet\cs\Microsoft.AspNetCore.Mvc.Analyzers.dll
    : Could not load file or assembly 'Microsoft.CodeAnalysis,
    Version=2.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
    one of its dependencies. The system cannot find the file
    specified..   MusicStore  E:\LearningTools\sampleapp\MusicStore-master\MusicStore-master\samples\MusicStore\CSC   1   Active</p>
  </blockquote>
  
  <p>And here is the link for the git repo: <a href="https://github.com/aspnet/MusicStore" rel="nofollow noreferrer">https://github.com/aspnet/MusicStore</a> for project reference. </p>
  
  <p>What may be the issue in my machine or any missing file/lib in the framework?</p>