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

CSharpier.MSBuild may have mismatched version with CLI #490

Closed
belav opened this issue Nov 23, 2021 · 0 comments · Fixed by #512
Closed

CSharpier.MSBuild may have mismatched version with CLI #490

belav opened this issue Nov 23, 2021 · 0 comments · Fixed by #512
Milestone

Comments

@belav
Copy link
Owner

belav commented Nov 23, 2021

  • Have csharpier installed globally, with version 0.11.2
  • In a project, have CSharpier.MSBuild installed with version 0.10.0
  • From the command line, run dotnet csharpier .

The code will be formatted with 0.11.2. The build will complain that your code is not formatted.

One possible solution is the CLI looking for CSharpier.MSBuild in any of the csprojs, and erroring out if there is a version mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant