CSharpier-Config.MsBuild 0.29.2.2

dotnet add package CSharpier-Config.MsBuild --version 0.29.2.2
                    
NuGet\Install-Package CSharpier-Config.MsBuild -Version 0.29.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CSharpier-Config.MsBuild" Version="0.29.2.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSharpier-Config.MsBuild" Version="0.29.2.2" />
                    
Directory.Packages.props
<PackageReference Include="CSharpier-Config.MsBuild">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CSharpier-Config.MsBuild --version 0.29.2.2
                    
#r "nuget: CSharpier-Config.MsBuild, 0.29.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CSharpier-Config.MsBuild@0.29.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CSharpier-Config.MsBuild&version=0.29.2.2
                    
Install as a Cake Addin
#tool nuget:?package=CSharpier-Config.MsBuild&version=0.29.2.2
                    
Install as a Cake Tool

This is as non opinionated version of csharpier version 0.29.2 tool created to add EditorConfig file style guide, allowing users to define and apply custom styling options.

Quick Start

Install CSharpier-Config globally using the following command.

dotnet tool install csharpier-config -g

Then format the contents of a directory and its children with the following command.

dotnet csharpier-config .

This is a work in progress project

In this branch, I will set up the project with new references in the documentation, as well as handle the deployment and naming of the executable program.

All documentation that you find about csharpier is also valid for csharpier-config, you have only to change command like All documentation you find about CSharpier is also valid for CSharpier-Config. You only need to adjust the commands accordingly.

  • dotnet csharpierdotnet csharpier-config
  • dotnet-csharpierdotnet-csharpier-config

New feature

#  CSharp formatting rules:
[*.cs]
csharp_new_line_before_open_brace = methods, properties, control_blocks, types
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

For more information, please refer to the documentation

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 was computed.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.29.2.2 1,236 9/24/2024
0.29.1.2 585 8/25/2024
0.29.1.1 307 8/24/2024
0.29.0.1 349 8/23/2024
0.28.1.1 383 8/14/2024
0.0.3 280 8/14/2024
0.0.2 255 7/27/2024
0.0.1 227 7/27/2024