Why does Tfs2010 build my Wix project before anything else?

后端 未结 6 503
独厮守ぢ
独厮守ぢ 2021-01-02 01:48

A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It\'s located here: MSbuild task fails

6条回答
  •  一生所求
    2021-01-02 02:45

    I faced with a same problem today and find a solution like this:

    Open your solution file on notepad the find your setup project and change postProject setting. This will tell msbuild this project should wait another project to build. I don't know why but it is not added by default.

    Project("{GUID}") = "MyInstaller", "MyInstallerPath", "{Installer Project GUID}" ProjectSection(ProjectDependencies) = postProject {Prebuild Project GUID} = {Prebuild Project GUID} EndProjectSection EndProject

    'Prebuild Project GUID' is the number on the right of the project that you want to install.

提交回复
热议问题