This *release* version of VS2005 is dog and I just can't take it anymore.
Here is the 3rd bug I've found (I never found any at all in Everett)...
- Create a test project
- add an app.config file to the root of the project
- add another app.config file called reallyImportantFile.config to the root of
the project
- set reallyImportantFile.config to BuildAction=Content and
CopyToOutputDirectory=Copy Always
- compile the project and peek out /bin/debug (it is there)
- write a unit test that checks to see if the file exists
Assert.IsTrue(File.Exists(fileName))
- watch the test fail BECAUSE TEAM SYSTEM DOESN'T MOVE THE 'COPY ALWAYS' FILES
INTO THE OUT DIRECTORY!
----
Update: 11/14/05 4:21pm EST
You can work around this bug by manually including the files via the .testrunconfig deployment tab.