StyleBro.Migrate
0.1.0-alpha.5
This is a prerelease version of StyleBro.Migrate.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global StyleBro.Migrate --version 0.1.0-alpha.5
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local StyleBro.Migrate --version 0.1.0-alpha.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=StyleBro.Migrate&version=0.1.0-alpha.5&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package StyleBro.Migrate --version 0.1.0-alpha.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
stylebro-migrate
Moves a repository from StyleCop.Analyzers to StyleBro without changing
its code style. It reads the repository's StyleCop setup (rulesets, global configs, .editorconfig files,
stylecop.json, the StyleCop version) and writes the StyleBro and .NET SDK settings that enforce the same things.
dotnet tool install --global StyleBro.Migrate --prerelease
stylebro-migrate path/to/repo # dry run: what StyleCop enforces, what carries over, the settings
stylebro-migrate path/to/repo --write # writes them
With --write it:
- writes the settings into the repository's
.editorconfigfiles, between# BEGIN stylebro-migrateand# END stylebro-migrate(running it again replaces the block); - turns StyleBro's preset off in
Directory.Build.props, since the generated settings replace it; - adds the replacing rule ids to existing StyleCop suppressions (
#pragma warning disable,[SuppressMessage],<NoWarn>).
Then add the StyleBro.Analyzers package, remove StyleCop.Analyzers, and run dotnet format.
The report lists the StyleCop rules that nothing enforces after the switch, and why. Details: docs/migrating.md.
| 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 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.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.7.0-alpha.1 | 207 | 10/13/2026 |
| 0.6.0-alpha.1 | 62 | 10/12/2026 |
| 0.5.0-alpha.1 | 295 | 10/10/2026 |
| 0.4.0-alpha.1 | 55 | 10/10/2026 |
| 0.3.0-alpha.1 | 54 | 10/9/2026 |
| 0.2.0-alpha.1 | 64 | 10/6/2026 |
| 0.1.0-alpha.8 | 68 | 10/2/2026 |
| 0.1.0-alpha.7 | 59 | 10/2/2026 |
| 0.1.0-alpha.6 | 66 | 10/1/2026 |
| 0.1.0-alpha.5 | 69 | 10/1/2026 |