Build command didn't recognise file changes for embedded resource.

From: MNF (michaelf_at_librarysolutions.com.au)
Date: 07/06/04


Date: 5 Jul 2004 18:01:32 -0700

I am using VS.Net 2003 and have a solution with Executable and Setup
projects.
Among others Executable Project has text file included as "embedded
resource".
Isually I execute "Build" command from Setup Project context menu to
generate MSI for installation on a testing machine.
I've noticed that if the only change was in "embedded resource" file,
VS.Net doesn't notice the change of file and doesn't create new
version of executable. So old copy of "embedded resource" is copied to
the testing machine.
It took me couple hours to understand this. Fortunutely, "Rebuild"
action fixes the problem.
I am wondering is it a known bug or it's happened only on my machine
and caused by some settings of my solution?

Michael Freidgeim.



Relevant Pages