diff --git a/docs/guides/csharp/.config/dotnet-tools.json b/docs/guides/csharp/.config/dotnet-tools.json index 78ec158586c..96b59afa83f 100644 --- a/docs/guides/csharp/.config/dotnet-tools.json +++ b/docs/guides/csharp/.config/dotnet-tools.json @@ -3,10 +3,10 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } -} \ No newline at end of file +} diff --git a/docs/snippets/csharp/.config/dotnet-tools.json b/docs/snippets/csharp/.config/dotnet-tools.json index 78ec158586c..96b59afa83f 100644 --- a/docs/snippets/csharp/.config/dotnet-tools.json +++ b/docs/snippets/csharp/.config/dotnet-tools.json @@ -3,10 +3,10 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } -} \ No newline at end of file +} diff --git a/scripts/formatter.ts b/scripts/formatter.ts index 42ba67b3c9f..3b6900545ec 100644 --- a/scripts/formatter.ts +++ b/scripts/formatter.ts @@ -6,7 +6,7 @@ export async function formatter(language: string, cwd: string): Promise { switch (language) { case 'csharp': if (cwd.includes('tests') || cwd.includes('snippets') || cwd.includes('guides')) { - await run('dotnet format --no-restore && dotnet tool restore && dotnet dotnet-csharpier .', { + await run('dotnet format --no-restore && dotnet tool restore && dotnet csharpier .', { cwd, language, }); diff --git a/templates/csharp/snippets/dotnet-tools.mustache b/templates/csharp/snippets/dotnet-tools.mustache index 78ec158586c..2dd929afc62 100644 --- a/templates/csharp/snippets/dotnet-tools.mustache +++ b/templates/csharp/snippets/dotnet-tools.mustache @@ -3,9 +3,9 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } diff --git a/tests/output/csharp/.config/dotnet-tools.json b/tests/output/csharp/.config/dotnet-tools.json index 3c40b6da394..96b59afa83f 100644 --- a/tests/output/csharp/.config/dotnet-tools.json +++ b/tests/output/csharp/.config/dotnet-tools.json @@ -3,9 +3,9 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } }