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.


Login to See the Rest of the Answer

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






For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email Address[email protected]