Skip to content

MemberOrderInspection is a Resharper extension which inspects C# files against incorrect ordering of member declarations.

Notifications You must be signed in to change notification settings

XtroTheArctic/MemberOrderInspection

Repository files navigation

Steps to install this plugin to Resharper:

1. Add this this entry to Extension Manager section in Resharper Options Window.

Name:   MemberOrderInspection
Source: E:\Alem\Program\Yazýlým\ReSharper\MemberOrderInspection\Atesh.MemberOrderInspection\bin

2. Build this project.

2.a. Make sure that bin\net471\Atesh.MemberOrderInspection.dll is included in this project. Otherwise "Pack" command won't include the compiled dll into the package for an unknown reason.

2.b. Including the dll into this project must be done manually in the csproj text file.

  <ItemGroup>
    <Content Include="bin\net471\Atesh.MemberOrderInspection.dll" PackagePath="dotFiles" Pack="true" />
  </ItemGroup>

2.c. If the project's target framework is upgraded (ex: net461 to net471) the dll include line in csproj must be updated with the correct folder name manually.

3. "Pack" this project by right clicking on the project in Visual Studio.

3.a. If the package version isn't increased manually, Resharper won't recognize the package as updateable so the plugin needs to be uninstalled and re-installed.

Extra info: 

* "Wave (221.0.0)" library in Dependencies/Packages section of the project is required. After I updated Resharper SDK from 2021.3.3 to 2022.1.1, there was an error message like "it can't be found".
  Because of that error, I thought that Wave package was depriciated by Jetbrains and I deleted that dependency manually. This caused the problem of Resharper not being able to detect the packed plugin in extension manager window.
  After reverting the line deletion in Atesh.MemberOrderInspection.csproj file, it started to work fine again.

About

MemberOrderInspection is a Resharper extension which inspects C# files against incorrect ordering of member declarations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages