WaelHamze / xrm-ci-framework

xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
MIT License
186 stars 117 forks source link

How to set localize flag for packaging? #229

Closed ygizhitsa closed 5 years ago

WaelHamze commented 5 years ago

@ygizhitsa can you please provide more details on what you are trying to do?

WaelHamze commented 5 years ago

@ygizhitsa will the above commit fix your issue?

Do you need the localize flag on the pack?

ygizhitsa commented 5 years ago

Yes, the current ps line I'm running is following & $packagerPath /action:Pack /PackageType:$PackageType /folder:$folder /zipfile:$FileName /map:$MappingFileName /localize /sourceLoc:1033.

The packegerPath I'm extracting from Tools installer

$packagerDirectory = (Join-Path -Path ($env:MSCRM_Tools_Path) -ChildPath "CoreTools\9.0.0" ) $packagerPath = (Join-Path -Path ($packagerDirectory) -ChildPath "SolutionPackager.exe" )

Thank you for responding Yuriy

WaelHamze commented 5 years ago

@ygizhitsa ok added that too should be available in next release

ygizhitsa commented 5 years ago

I just was able to build a package with localize flag on and source 1033. The package is built. There are some worming messages I would need to research and make sure that package has been successfully deployed and tested. Will keep you updated. If it works, I will start to clean pipelines with custom PS script image

image

Thank you, Yuriy