Peter K.
Peter K.

Reputation: 8108

How do I avoid checking out the wxs file when using WiX with TFS2010?

I have just started to use WiX in conjunction with the project I need installed. Both the WiX project and the to-be-installed project are in the same solution, and everything is in TFS 2010.

Now, when I try to build the WiX project, the file ToBeInstalledProject.wxs needs to be checked out because it seems to be generated during the build.

Is there some way to exclude this file from TFS, but still include it in the WiX project?

Upvotes: 2

Views: 146

Answers (1)

Sunil Agarwal
Sunil Agarwal

Reputation: 4277

Welcome to WIX.

If ToBeInstalledProject.wxs a fragment file?

If yes the don't add your file ToBeInstalledProject.wxs to TFS through add new file. Just go on the project and then include the file. Doing so, the attributes of the file will not be Read only and so it will be updated automatically whenever you build the solution.

Upvotes: 1

Related Questions