1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 2 <UsingTask TaskName="DevExpress.Build.DXGeneratePriConfigurationFiles" AssemblyFile="DevExpress.Build.v14.2.dll"/> 3 <PropertyGroup> 4 <_GenerateProjectPriFileDependsOn> 5 $(_GenerateProjectPriFileDependsOn); 6 BeforeGenerateProjectPriFile; 7 _GeneratePrisForPortableLibraries; 8 _GetPriFilesFromPayload; 9 _ComputeInputPriFiles; 10 _GenerateProjectPriConfigurationFiles; 11 _CalculateInputsForGenerateProjectPriFileCore; 12 _GenerateProjectPriFileCore; 13 _AddFileReadsAndFileWritesForProjectPri; 14 _CreateProjectPriFileItem; 15 _ExpandProjectPriFile; 16 _ExpandPriFiles; 17 AfterGenerateProjectPriFile 18 </_GenerateProjectPriFileDependsOn> 19 </PropertyGroup> 20 <Target Name="_GenerateProjectPriConfigurationFiles" 21 Inputs="$(MSBuildProjectFullPath);@(_PriFile);$(AppxPriConfigXmlDefaultSnippetPath)" 22 Outputs="$(_PriConfigXmlPath);$(_LayoutResfilesPath);$(_ResourcesResfilesPath);$(_PriResfilesPath)" 23 > 24 25 <ItemGroup> 26 <_LayoutFile Include="@(PackagingOutputs)" Condition="'%(OutputGroup)' == 'ContentFilesProjectOutputGroup' and '%(ProjectName)' == '$(ProjectName)'" /> 27 <_LayoutFile Include="@(PackagingOutputs)" Condition="'%(OutputGroup)' == 'CustomOutputGroupForPackaging' and '%(ProjectName)' == '$(ProjectName)'" /> 28 </ItemGroup> 29 30 <DXGeneratePriConfigurationFiles 31 LayoutResfilesPath="$(_LayoutResfilesPath)" 32 ResourcesResfilesPath="$(_ResourcesResfilesPath)" 33 PriResfilesPath="$(_PriResfilesPath)" 34 LayoutFiles="@(_LayoutFile)" 35 PRIResourceFiles="@(PRIResource)" 36 PriFiles="@(_PriFile)" 37 IntermediateExtension="$(AppxIntermediateExtension)" 38 /> 39 40 <CreatePriConfigXmlForFullIndex 41 PriConfigXmlPath="$(_PriConfigXmlPath)" 42 LayoutResfilesPath="$(_LayoutResfilesPath)" 43 ResourcesResfilesPath="$(_ResourcesResfilesPath)" 44 PriResfilesPath="$(_PriResfilesPath)" 45 PriInitialPath="$(AppxPriInitialPath)" 46 DefaultResourceLanguage="$(DefaultResourceLanguage)" 47 DefaultResourceQualifiers="$(AppxDefaultResourceQualifiers)" 48 IntermediateExtension="$(AppxIntermediateExtension)" 49 PriConfigXmlDefaultSnippetPath="$(AppxPriConfigXmlDefaultSnippetPath)" 50 TargetPlatformIdentifier="$(TargetPlatformIdentifier)" 51 TargetPlatformVersion="$(TargetPlatformVersion)" 52 /> 53 54 <Message Text="$(MSBuildProjectName) -> $(_PriConfigXmlPath)" /> 55 <Message Text="$(MSBuildProjectName) -> $(_LayoutResfilesPath)" /> 56 <Message Text="$(MSBuildProjectName) -> $(_ResourcesResfilesPath)" /> 57 <Message Text="$(MSBuildProjectName) -> $(_PriResfilesPath)" /> 58 59 </Target> 60 </Project>