Wayne Sepega

I have followed the walk through located here:

http://msdn2.microsoft.com/en-us/library/ms404859(VS.80).aspx

and have corrected the issue mentioned here
http://blogs.msdn.com/buckh/archive/2006/09/23/767329.aspx

However, I still have an issue with the end result and wonder if the person that wrote the walk through actually tried it.

The walk through states to do the following in the set up project:

In the Add Files dialog box, open the location of HelloWorldTest.exe, select it, and then click Open.
The location in this walkthrough is C:\DeploymentProjects\HelloWorldTest\HelloWorldTest\obj\Debug\HelloWorldTest.exe. Your file path may be different depending on the location of your local workspace.

if you add this file to the setup and then the solution to source control the exe now becomes readonly and you can't compile the solution at all.

Anyone have a work around for this, other then check out the exe Or a differnt solution for building the set up application

Thanks
Wayne



Re: Team Foundation Server - Build Automation vdproj, msbuild, and MSDN walk through

Aaron Hallberg - MSFT

This chunk of instructions is a bit confusing, but I believe it is supposed to have you add the executable to the installer, not to source control.

-Aaron






Re: Team Foundation Server - Build Automation vdproj, msbuild, and MSDN walk through

Wayne Sepega

There is a step titled:

To add and check-in HellowWorldTest to Team Foundation source control

This to me says it is also about source control, and the project DOESN'T build with the automated build process if you follow the steps exactly as the exe is read only when TFS retreives the code from source control to build it.

I still have to wonder if the author actually tried the steps as it is not working as published.

Thanks
Wayne





Re: Team Foundation Server - Build Automation vdproj, msbuild, and MSDN walk through

Aaron Hallberg - MSFT

I agree that the walkthrough is a bit confusing, but:

(1) The section you mentioned in your first post is titled "To add the HelloWorldTest application to the installer."

(2) The section you mention above ("To add and check-in HelloWorldTest to Team Foundation source control") is referring to adding and checking in the solution, not the exe. Indeed, it includes the following sentence: "You do not have to check in the executable, because Team Foundation Build builds a new executable".

Thanks for the feedback, and I hope you were able to work around the issues you ran into.

-Aaron






Re: Team Foundation Server - Build Automation vdproj, msbuild, and MSDN walk through

Buck Hodges

I'll forward this to the appropriate person for revision. Adding the .exe to version control isn't a good idea.

If you hover over the stars in the upper right corner of the MSDN doc page, you'll have the opportunity to put in feedback. The people responsible for the pages on MSDN do read the feedback, so any time you find something that's wrong or unclear, be sure to fill in the feedback on that page.

Buck






Re: Team Foundation Server - Build Automation vdproj, msbuild, and MSDN walk through

Wayne Sepega

Thank you, I was wondering where that went. It used to be at the bottom of the page and when I went looking for it I didn't see it.

I will be sure to leave feedback on it.


Wayne