Releases: dfederm/ReferenceTrimmer
Releases · dfederm/ReferenceTrimmer
v3.1.5
v3.1.4
v3.1.2
v3.1.0
What's Changed
- Bump Newtonsoft.Json from 11.0.2 to 13.0.2 in /test/TestData/UsedPackageReference/Library by @dependabot in #18
- Bump Newtonsoft.Json from 11.0.2 to 13.0.2 in /test/TestData/UnusedPackageReference/Library by @dependabot in #17
- Upgrade test dependencies by @stan-sz in #21
- Add .gitattributes file by @dfederm in #23
- Enable additional code analysis rules by @dfederm in #24
- Rely on GetUsedAssemblyReferences by @stan-sz in #20
New Contributors
- @dependabot made their first contribution in #18
- @stan-sz made their first contribution in #21
Full Changelog: v3.0.8...v3.1.0
v3.0.8
v3.0.7
v3.0.5
ReferenceTrimmer has been rewritten as an MSBuild task instead of a standalone tool! This should make it much easier to integrate into your builds. Just add a PackageReference
and it will run as part of the build and emit warning when there are unnecessary references.
v2.0.0
Starting in this release, this tool is now available on NuGet.org!
Changes:
- Core: Dropped support for the .NET Core flavor of this tool. MSBuildLocator only works on .NET Framework, and in general the .NET Framework version of MSBuild is the only fully-featured MSBuild. Note that this tool can still analyze projects targeting .NET Core, but the tool requires the .NET Framework be installed.
- Options: Removed many overly-complicated flags around specifying where specific MSBuild pieces are. Microsoft.Build.Locator can find MSBuild as a whole and that MSBuild is expected to be a full installation.
- Dependencies: Dropped the dependency on Buildalyzer in favor of Microsoft.Build.Locator
v1.4.0
Changes:
- Core: Use PEReader instead of loading the assembly to get the assembly manifest references.
- Package References: Use the NuGet ProjectModel to determine package reference graph and related references, rather than a super brittle hack.
- Options: Added
--RestoreIfNeeded
flag. This flag will try to restore the project if needed, for processing Package References. - Options: Added
--CompileIfNeeded
flag. This flag will try to compile the project if needed, for processing assembly manifest references. - Dependencies: Upgraded to Buildalyzer 1.0.0 - Much more robust MSBuild parsing