-1

I have an old solution that used to work and had many versions and multiple installer projects, at some point one of the installer projects stopped creating msi/exe files.

small changes have been made to ProjectInstaller class and the project itself.

upon rebuilding the installer project the according to the log there are 0 errors, build is successful but no files are created.

  • Check you bin folder for HOST files. Delete. These files are locks so when on a network drive two people do not try to compile at same time. – jdweng Jun 13 '21 at 15:44
  • @jdweng do you mean project/bin folder? I have deleted it, it is created again along with debug and release, but they are all empty, checked out the entire solution for editing, didn't help either. – Michael Razgoner Jun 13 '21 at 15:50
  • Are there any files in the bin folder? Your results may be in either the Debug or Release folder. – jdweng Jun 13 '21 at 15:53
  • @jdweng sorry, actually there is no bin folder, the msi and exe used to be generated in the project/debug and project/release folder, when I delete them and compile, they are created again but no files inside – Michael Razgoner Jun 13 '21 at 15:58
  • Are there any files in the obj folder? The compiler create intermediate files in the obj and then links together to create the exe. I've seen cases with new projects where OP did not do a saveall and project was created in the user temp area. It sound like the project is being built in a folder that you do not have write permission, but you are creating the bin/release/debug so it must be something else. – jdweng Jun 13 '21 at 16:10
  • well, I came across answers when they talk about permissions, so I have opened VS as admin, I try to rebuild other projects in the solution, the exe and obj files there are created properly as well an the msi and exe files in other projects in the same solution. except that one project – Michael Razgoner Jun 13 '21 at 16:16

1 Answers1

1

sorry, my own mistake, there WAS an error in the build, it was neglected by the 'Error List' tab of the logger for some reason, which is strange,

now its just a missing file and I can work with that.

  • Yes, missing files (red underlined files in View > File System in the project) cause silent failure – DAG Feb 21 '23 at 18:49