Hi Furqanms,
I want to know more information about your problem.
1. Which version of .net did you use?
2. Which version of Visual Studio did you use?
3. Who did you create your Setup project and add project output? Did you use custom action?
4. When did you meet the error message? In the installation process or at the time when you start your application?
Please let me know these information in order to find a solution.
Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.