Skip to content

Instantly share code, notes, and snippets.

@Blizzardo1
Created November 18, 2019 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blizzardo1/55a73801b733d5b7a12dafc0e553a9c7 to your computer and use it in GitHub Desktop.
Save Blizzardo1/55a73801b733d5b7a12dafc0e553a9c7 to your computer and use it in GitHub Desktop.
MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
System.MissingMethodException: Method not found: 'System.String Microsoft.Build.Evaluation.ProjectCollection.get_DisplayVersion()'.
at Microsoft.Build.CommandLine.MSBuildApp.DisplayCopyrightMessage()
at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Boolean& needToValidateProject, String& schemaFile, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, Boolean& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean recursing)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String commandLine)
Unhandled Exception: System.MissingMethodException: Method not found: 'System.String Microsoft.Build.Evaluation.ProjectCollection.get_DisplayVersion()'.
at Microsoft.Build.CommandLine.MSBuildApp.DisplayCopyrightMessage()
at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Boolean& needToValidateProject, String& schemaFile, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, Boolean& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean recursing)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String commandLine)
at Microsoft.Build.CommandLine.MSBuildApp.Main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment