File '<file>' of project output '<project output group>' targeting '<platform>' is not compatible with the project's target platform '<platform>'
This error is generated when an assembly coming from a project output group is built to target a platform different than theof the project.
For more information on the TargetPlatform settings, see.
To correct this error
Change the TargetPlatform property to be consistent with assemblies being installed, or change the assemblies being added to the project.