PCF-CustomControlBuilder icon indicating copy to clipboard operation
PCF-CustomControlBuilder copied to clipboard

[Bug]: Build All and Deploy doesn't deploy on German system (MSBuild is in German)

Open didschai opened this issue 2 years ago • 2 comments

Contact Details

No response

What happened?

After clicking "Build all and deploy" the build finishes, but the solution is not deployed to Dynamics. After checking the source code (PCFBuilder.cs, line 2206), I saw there is a check prior to publishing: CurrentCommandOutput.ToLower().Contains("done building project") However, if the system language MSBuild runs on is in German, the check fails. The log output on my machine is: image

I modified the condition to be: if (BuildDeployExecution && lblStatus.Text.ToLower().Equals("succeeded") && (CurrentCommandOutput.ToLower().Contains("done building project") || CurrentCommandOutput.ToLower().Contains("erfolgreich"))) and it works fine. Don't know if there is a better way of handling this..

Regards, Denis

What version of the tool are you using?

2.2023.6.162

What version of XrmToolBox are you running?

1.2023.6.65

Relevant log output

No response

didschai avatar Jul 11 '23 15:07 didschai