Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Adjust C# Namespaces 2019
Adjust C# Namespaces 2019

Adjust C# Namespaces 2019

Preview

lsoft

|
1,287 installs
| (0) | Free
Fix incorrect namespaces for a single file, folder, project or a whole solution and rules the resulting regressions in the code (including XAML), e.g. fixes the broken references. This extension works like Resharper `Adjust namespaces` function.
Download

Adjust Namespaces

AdjustNamespace is a Visual Studio extension which brings the C# namespaces in accordance with the location and rules the resulting regressions in the code (including XAML), e.g. fixes the broken references. This extension works like Resharper Adjust namespaces function. If you know Resharper, you know what this extension is trying to do.

How to use

Select object (solution, project, folder or file) in solution explorer, click RMB, choose Adjust Namespaces... and follow the wizard.

Usage example

or choose the whole solution by this way:

Usage example

You can also exclude some folders from participating in namespace chain. AdjustNamepace stores such settings in its configuration xml file, in the folder of your solution. Commit that file to share it across your team.

Remarks

I do not test it against:

  1. WinForms applications
  2. Web applications (aspx, for example)
  3. Any other projects except plain C#, XAML and sqlproj.

I encourage you to do that testing and report bugs (with minimal repro) to https://github.com/lsoft/AdjustNamespace/issues.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft