From what I saw about this error, they are all slightly different
until today, my code worked fine. (Visual studio 2015)
the error i get is shown below
Severity code Description Project file line error. The GenerateResource task completed unexpectedly. System.NullReferenceException: An object reference is not set to an object instance. in Microsoft.Build.Tasks.ResGenDependencies.GetResXFileInfo (String resxFile) in Microsoft.Build.Tasks.GenerateResource.ShouldRebuildResgenOutputFile (String sourceFilePath, String outputFilePath) at Microsoft.Build.Tasks.GenerateResource.GetResourcesToProcess (List 1&
inputsToProcess, List1 & outputToProcess, List`1 & cachedOutputFiles) in Microsoft.Build.Tasks.GenerateResource.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () in Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext
I have no idea what it is, and no solution that I have seen so far has helped me. Any help is appreciated.
source
share