Use CSharpier to format. There are a few options:
- Install CSharpier as a local tool:
dotnet tool install csharpier
- This allows CLI use of CSharpier:
dotnet csharpier .
afterdotnet tool restore
- This allows CLI use of CSharpier:
- Install the CSharpier Visual Studio 2022 extension: https://marketplace.visualstudio.com/items?itemName=csharpier.CSharpier
- Install CSharpier as a global tool:
dotnet tool install csharpier -g
- This allows CLI use of CSharpier:
dotnet csharpier .
afterdotnet tool restore
- This allows CLI use of CSharpier:
Use the Local.sln
to include the Core and Objects projects from the SDK repo. This setup assumes the two Git repos are side by side.
Using the Local.sln
will modify all your package locks. Don't check these in! Revert or use the regular solution to revert once your changes are made.
This uses a new Configuration for the solutions and projects which means that Local
is now a build directory alongside Debug
and Release
Run this to delete package.lock.json files when restores go run.
Run this to clean out bin and obj directories. Then a restore is run to get things ready for a build.