Generate resource task failed error
<p>From what I've seen about this error they are all slightly different</p>

<p>prior to today my code worked fine. (Visual studio 2015)</p>

<p>the error that I am getting is shown below</p>

<blockquote>
  <p>Severity  Code    Description Project File    Line Error      The
  "GenerateResource" task failed unexpectedly.
  System.NullReferenceException: Object reference not set to an instance
  of an object.    at
  Microsoft.Build.Tasks.ResGenDependencies.GetResXFileInfo(String
  resxFile)    at
  Microsoft.Build.Tasks.GenerateResource.ShouldRebuildResgenOutputFile(String
  sourceFilePath, String outputFilePath)    at
  Microsoft.Build.Tasks.GenerateResource.GetResourcesToProcess(List<code>1&amp;
  inputsToProcess, List</code>1&amp; outputsToProcess, List`1&amp; cachedOutputFiles) 
  at Microsoft.Build.Tasks.GenerateResource.Execute()    at
  Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
  at
  Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() Progress_Tracker</p>
</blockquote>

<p>I have no idea what this is and no solution I have seen so far has helped me. Any help is appreciated.</p>