Include files from Team build output folder into XAP

前端 未结 2 1250
萌比男神i
萌比男神i 2021-01-20 16:00

I\'m trying to do Continuous Integration using TFS 2010 for a Windows Phone 7.1 project. There are 2 resource projects (Win32 Project for localisation) and the main Windows

2条回答
  •  忘掉有多难
    2021-01-20 16:34

    Solved the problem by setting the output path of the resources project to the output path of the WP7 project and then used XapFilesInputCollection to include them in the xap.

    Also changed the referred paths in WMAppManifest.xml for application title .

    Changes made :

    a. Added/Replaced the OutDir tag in each of the resource projects files .

    $(SolutionDir)$(SolutionName)\bin\Debug
    

    This copies the resource project output to main project output AppResLib.dll and AppResLib.dll.040b.mui

    b. Then in the main Windows Phone project file (.csproj) added

          
             
               
               
             
       
    

    This works in both VS 2010 build as well as TFS 2010 Build system.

    Referring to Silverlight MSBuild Task - execute command line after Xap copied to ClientBin

提交回复
热议问题