Please Login to Continue

Visual Studio Build Error: Found conflicts between different versions of "System.Runtime.InteropServices.RuntimeInformation" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.

 Question: How do you resolve Visual Studio 2019 Build Error: Found conflicts between different versions of "System.Runtime.InteropServices.RuntimeInformation" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detail.

Answer: Visual Studio 2019 MSBuild might have kept track of other Projects sln Files (Build Files). In order to resolve this issue, go to the folder where you store other projects and look around to see if other projects have a Project File that is the same as the project you are working in. If you find any just Rename them to the Project Name that you found the file in, if not just delete them or keep them where you could replace or put back when the error occurs.

  • For this error to happen you might have copied and pasted the project in another folder.
  • If you have more than one project included in the Solution, make sure that those projects are in Debug mode. Visual Studio might be confused which Project to build since all of them are in Release Mode.
  • Make sure that the project you are building is not in Publish Mode in the lauchSettings.json
Visual Studio 2019 taking long to build App Technology published

Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..



© 2020 - ErnesTech - Privacy