Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
didschai opened this issue Jul 11, 2023 · 2 comments
Assignees
Labels
bug Something isn't working triage

Comments

@didschai
Copy link

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 didschai added bug Something isn't working triage labels Jul 11, 2023
@power-maverick-bot
Copy link

Thanks for opening your first issue here! Please make sure you have given us as much context as possible.
One of the repo maintainer will respond as soon as possible.

@github-actions
Copy link

Thank you for creating your first issue. This will help me improve this tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants