Thanks for your reply, I can indeed delete the file, so it's not locked. However, if I rename it (ex: setup_.exe), it seems to work, but I get a warning:
"light.exe : error LGHT0388 : The file name 'setup.exe' creates an insecure bundle. Windows will load unnecessary compatibility shims into a bundle with that file name. These compatibility shims can be DLL hijacked allowing attackers to compromise your customers' computer. Choose a different bundle file name."
I'm running Win10/vs 2015 community edition.
Edit: Changing the assembly name fixed the Exception. Is 'Setup.exe' reserved?
I created a new project with a different name, but I still get the warning. I'm not sure where a file setup.exe is being read.
"light.exe : error LGHT0388 : The file name 'setup.exe' creates an insecure bundle. Windows will load unnecessary compatibility shims into a bundle with that file name. These compatibility shims can be DLL hijacked allowing attackers to compromise your customers' computer. Choose a different bundle file name."
I'm running Win10/vs 2015 community edition.
Edit: Changing the assembly name fixed the Exception. Is 'Setup.exe' reserved?
I created a new project with a different name, but I still get the warning. I'm not sure where a file setup.exe is being read.