This documentation is archived and is not being maintained.

Module '<module>' targeting '<platform>' cannot be added to a package targeting '<platform>' 

This error is generated when the merge module 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