Module '<module>' of project output '<project output group>' targeting '<platform>' cannot be added to a package targeting '<platform>'
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Module '<module>' of project output '<project output group>' targeting '<platform>' cannot be added to a package targeting '<platform>' 

This error is generated when a merge module coming from a project output group is built to target a platform different than the TargetPlatform Property of the project.

For more information on the TargetPlatform settings, see File '<file>' targeting '<platform>' is not compatible with the project's target platform '<platform>'.

To correct this error

  • Change the TargetPlatform property to be consistent with assemblies being installed, or change the assemblies being added to the project.

See Also

Show:
© 2016 Microsoft