Ask a questionAsk a question
 

AnswerTFS 2008 - Team Build *.dtproj

  • Thursday, November 05, 2009 1:24 PMKavitha210 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am trying a TFS Team Build for a SSIS 2008 (*.dtproj) project.

    I am recieveing the follwoing error:

    [Default/Release] <*.sln>(0,0): warning MSB4078: The project file "*.dtproj" is not supported by MSBuild and cannot be built.

    Please let me know how to build a dtproj in TFS 2008.

     

Answers

  • Monday, November 09, 2009 6:51 AMRuiz YiModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     AnswerHas Code
    Hi,

    You can add following code to TFSbuild.proj

      <Target Name="AfterCompile">
        <Exec Command="&quot;$(ProgramFiles)\Microsoft Visual Studio 9.0\Common7\IDE\devenv&quot; &quot;$(SolutionRoot)\SSIS_IncludeExe\SSIS_IncludeExe.dtproj&quot; /Build &quot;Debug|Any CPU&quot;"/>
        <Copy SourceFiles="$(SolutionRoot)\SSIS_IncludeExe\bin\Package.dtsx" DestinationFolder="$(OutDir)" />
      </Target>
    
    


    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Sincerely, Ruiz Yi

All Replies

  • Monday, November 09, 2009 6:51 AMRuiz YiModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     AnswerHas Code
    Hi,

    You can add following code to TFSbuild.proj

      <Target Name="AfterCompile">
        <Exec Command="&quot;$(ProgramFiles)\Microsoft Visual Studio 9.0\Common7\IDE\devenv&quot; &quot;$(SolutionRoot)\SSIS_IncludeExe\SSIS_IncludeExe.dtproj&quot; /Build &quot;Debug|Any CPU&quot;"/>
        <Copy SourceFiles="$(SolutionRoot)\SSIS_IncludeExe\bin\Package.dtsx" DestinationFolder="$(OutDir)" />
      </Target>
    
    


    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Sincerely, Ruiz Yi