CSharpier.MsBuild
1.1.1
See the version list below for details.
dotnet add package CSharpier.MsBuild --version 1.1.1
NuGet\Install-Package CSharpier.MsBuild -Version 1.1.1
<PackageReference Include="CSharpier.MsBuild" Version="1.1.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="CSharpier.MsBuild" Version="1.1.1" />
<PackageReference Include="CSharpier.MsBuild"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add CSharpier.MsBuild --version 1.1.1
#r "nuget: CSharpier.MsBuild, 1.1.1"
#:package CSharpier.MsBuild@1.1.1
#addin nuget:?package=CSharpier.MsBuild&version=1.1.1
#tool nuget:?package=CSharpier.MsBuild&version=1.1.1
CSharpier is an opinionated code formatter for c#. It uses Roslyn to parse your code and re-prints it using its own rules. The printing process was ported from prettier but has evolved over time.
CSharpier provides a few basic options that affect formatting and has no plans to add more. It follows the Option Philosophy of prettier.
Quick Start
Install CSharpier globally using the following command.
dotnet tool install csharpier -g
Then format the contents of a directory and its children with the following command.
csharpier .
CSharpier can also format on save in your editor, as a pre-commit hook, as part of your build or even programatically. Then you can ensure code was formatted with a CI/CD tool.
Before
public class ClassName {
public void CallMethod() {
this.LongUglyMethod("1234567890", "abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
}
}
After
public class ClassName
{
public void CallMethod()
{
this.LongUglyMethod(
"1234567890",
"abcdefghijklmnopqrstuvwxyz",
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
);
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CSharpier.MsBuild:
| Package | Downloads |
|---|---|
|
Silksong.Modding.Templates
Templates for creating mods for Hollow Knight: Silksong |
|
|
ItemChanger.Core
Package Description |
GitHub repositories (19)
Showing the top 19 popular GitHub repositories that depend on CSharpier.MsBuild:
| Repository | Stars |
|---|---|
|
Tyrrrz/YoutubeDownloader
Downloads videos and playlists from YouTube
|
|
|
Tyrrrz/DiscordChatExporter
Saves Discord chat logs to a file
|
|
|
Tyrrrz/CliWrap
Library for interacting with command-line interfaces
|
|
|
Tyrrrz/YoutubeExplode
Abstraction layer over YouTube's internal API
|
|
|
martinothamar/Mediator
A high performance implementation of Mediator pattern in .NET using source generators.
|
|
|
Tyrrrz/LightBulb
Reduces eye strain by adjusting screen gamma based on the current time
|
|
|
Tyrrrz/CliFx
Class-first framework for building command-line interfaces
|
|
|
Tyrrrz/Onova
Unintrusive auto-update framework
|
|
|
Reaparr/Reaparr
Plex downloader that brings content from any server to yours!
|
|
|
Tyrrrz/GitHubActionsTestLogger
VSTest logger that reports test results to GitHub Actions
|
|
|
Tyrrrz/DotnetRuntimeBootstrapper
Bootstrapped framework-dependent deployment for .NET applications
|
|
|
jerry08/Anikin
A multi-platform app to stream/download videos.
|
|
|
protyposis/AudioAlign
Audio Synchronization and Analysis Tool
|
|
|
Tyrrrz/Gress
Progress reporting toolbox
|
|
|
protyposis/Aurio
Audio Fingerprinting & Retrieval for .NET
|
|
|
TeamWheelWizard/WheelWizard
WheelWizard, Retro Rewind Launcher
|
|
|
surrealdb/surrealdb.net
SurrealDB SDK for .NET
|
|
|
jerry08/Yosu
Downloads videos, tracks and playlists from YouTube, Soundcloud and Spotify
|
|
|
Hona/VerticalSliceArchitecture
Spend less time over-engineering, and more time coding. The template has a focus on convenience, and developer confidence. Vertical Slice Architecture 🎈
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.2 | 162,791 | 8/16/2025 |
| 1.1.1 | 26,587 | 8/4/2025 |
| 1.1.0 | 723 | 8/3/2025 |
| 1.0.3 | 48,497 | 6/29/2025 |
| 1.0.2 | 62,161 | 5/24/2025 |
| 1.0.1 | 82,415 | 4/26/2025 |
| 1.0.0 | 31,410 | 4/22/2025 |
| 0.30.6 | 433,835 | 1/10/2025 |
| 0.30.5 | 53,357 | 1/3/2025 |
| 0.30.4 | 11,050 | 12/28/2024 |
| 0.30.3 | 60,304 | 12/7/2024 |
| 0.30.2 | 44,656 | 11/22/2024 |
| 0.30.1 | 32,798 | 11/18/2024 |
| 0.30.0 | 3,830 | 11/17/2024 |
| 0.29.2 | 183,079 | 9/15/2024 |
| 0.29.1 | 50,211 | 8/23/2024 |
| 0.29.0 | 25,645 | 8/17/2024 |
| 0.28.2 | 293,073 | 4/26/2024 |
| 0.28.1 | 6,333 | 4/16/2024 |
| 0.28.0 | 57,183 | 4/7/2024 |
| 0.27.3 | 76,551 | 2/18/2024 |
| 0.27.2 | 62,282 | 1/28/2024 |
| 0.27.1 | 18,111 | 1/24/2024 |
| 0.27.0 | 16,641 | 1/15/2024 |
| 0.26.7 | 26,112 | 12/16/2023 |
| 0.26.6 | 1,884 | 12/14/2023 |
| 0.26.5 | 7,309 | 12/10/2023 |
| 0.26.4 | 9,933 | 12/2/2023 |
| 0.26.3 | 10,925 | 11/23/2023 |
| 0.26.2 | 13,635 | 11/16/2023 |
| 0.26.1 | 4,769 | 11/9/2023 |
| 0.26.0 | 2,160 | 11/6/2023 |
| 0.25.0 | 63,966 | 6/25/2023 |
| 0.24.2 | 16,274 | 5/5/2023 |
| 0.24.1 | 31,880 | 4/26/2023 |
| 0.24.0 | 555 | 4/26/2023 |
| 0.23.0 | 16,656 | 3/6/2023 |
| 0.22.1 | 28,252 | 1/18/2023 |
| 0.22.0 | 42,310 | 1/15/2023 |
| 0.21.0 | 14,457 | 11/29/2022 |
| 0.20.0 | 9,086 | 10/3/2022 |
| 0.19.2 | 3,387 | 9/15/2022 |
| 0.19.1 | 1,303 | 8/27/2022 |
| 0.19.0 | 1,041 | 8/15/2022 |
| 0.18.0 | 6,816 | 6/13/2022 |
| 0.17.0 | 3,351 | 5/23/2022 |
| 0.16.0 | 6,820 | 3/26/2022 |
| 0.15.1 | 2,526 | 2/14/2022 |
| 0.15.0 | 2,644 | 2/9/2022 |
| 0.14.0 | 973 | 1/22/2022 |
| 0.13.0 | 19,097 | 1/3/2022 |
| 0.12.0 | 4,028 | 11/30/2021 |
| 0.11.2 | 7,683 | 11/16/2021 |
| 0.10.0 | 763 | 10/18/2021 |
| 0.9.9 | 7,944 | 8/23/2021 |
| 0.9.8 | 1,068 | 7/27/2021 |
| 0.9.7 | 642 | 6/26/2021 |
| 0.9.6 | 518 | 6/12/2021 |
| 0.9.5 | 520 | 6/1/2021 |
| 0.9.4 | 543 | 5/24/2021 |
| 0.9.3 | 1,308 | 5/24/2021 |