I am getting the same issue. My project is a C++/CLI project and build in Visual Studio 2005. My application's GUI uses Infragistics's ultraGrid controls. Before I add ultraGrid, the setup project was fine, after I added Infragistics's controls, then the setup build always gives me this error. Can some one help?
Thanks in advance!
Starting pre-build validation for project 'Deployment'
Pre-build validation for project 'Deployment' completed
3> Rebuild All started: Project: Deployment, Configuration: Release
Building file MySetup\Release\Setup.msi'...
WARNING: Windows Installer is not included in any selected prerequisite
WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.762.cat')
WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.762.cat')
WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.762.cat')
WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.762.cat')
WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.762.policy')
WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.762.policy')
WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.762.policy')
WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.762.policy')
ERROR: Could not find file 'MyProject\[$OutputDirectory]\[$TargetAssembly].licenses' 'The system cannot find the file specified.'