Why, after publishing my project, I can’t start my exe (the one you find in the Debug folder) without receiving this error message after closing your project? - Thus, not using my published project, and still just using exe
I created a test project to check if this is true, and this happens every time.
How do you get rid of this? I read that you should add material to your manifest, etc., But surely there should be an easier way? I am using Visual Studio 2008 on a 64-bit Windows 7 machine.
EDIT:
I found a solution to the problem. The reason for this is because I had the name “installer” or “setup” in my project name, can you believe it ... something like that can affect a project like this.
I found that this question was answered How to prevent the error messages "This program may not be installed correctly" in Vista It is for this reason that the program did this.
source share