title: Reason for ExtractMethodCodeRefactoringProvider encountered an error and has been disabled?
body: <p>I'm getting this error, when I'm trying to extract the method from code by using right-click on a selected code(Quick Actions and Refactoring) or <code>Ctrl + .</code>.</p>
  
  <p>I'm using Visual Studio 2015. I'm able to refactor for other projects in a different solution. My solution has multiple projects, it's not working on all the projects under this solution.  </p>
  
  <p>I tried the same thing using Visual Studio 2010, this is working fine with a solution.</p>
  
  <p>It's showing this error only in Visual Studio 2015.</p>
  
  <p>so is this a bug in Visual Studio 2015? or I need to make some settings in Visual Studio or in code, solution or projects?, I never saw this error before with Studio 2015.</p>
  
  <p><a href="https://i.stack.imgur.com/C93c9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C93c9.png" alt="Error"></a></p>
  
  <p>FYI: It's not a compilation error, It's just a warning, It's not stopping me to run the application or debug.</p>