Skip to content

Releases: dfederm/ReferenceTrimmer

v3.1.5

18 Jan 07:10
cc10708
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.4...v3.1.5

v3.1.4

17 Jan 19:26
45dd05f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.2...v3.1.4

v3.1.2

12 Jan 18:29
ef708a9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.0...v3.1.2

v3.1.0

05 Jan 20:20
ac8df32
Compare
Choose a tag to compare

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

Full Changelog: v3.0.8...v3.1.0

v3.0.8

11 Oct 06:36
1906401
Compare
Choose a tag to compare

What's Changed

  • Handle conflict resolution behavior with target framework references by @dfederm in #16

Full Changelog: v3.0.7...v3.0.8

v3.0.7

11 Oct 05:50
5e182ec
Compare
Choose a tag to compare

What's Changed

  • Suppress package dependencies by @dfederm in #14
  • Handle ReferencePath items without ReferenceSourceTarget metadata by @dfederm in #15

Full Changelog: v3.0.5...v3.0.7

v3.0.5

09 Sep 14:28
92b8460
Compare
Choose a tag to compare

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

05 Oct 04:02
Compare
Choose a tag to compare

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

03 Aug 02:35
Compare
Choose a tag to compare

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

v1.3.0

16 Jun 15:10
Compare
Choose a tag to compare

Changes:

  • Dependencies: Upgraded to Buildalyzer 0.5.0