Skip to content

2.6

Compare
Choose a tag to compare
@3F 3F released this 23 Aug 20:29
f10c50c

NuGet package 📦 Download | What's new in 2.6:

packages.config support

using Sln l = new("Input.sln", SlnItems.AllNoLoad | SlnItems.PackagesConfig);

IPackageInfo found = l.Result.PackagesConfigs
                                .SelectMany(s => s.Packages)
                                .FirstOrDefault(p => p.Id.StartsWith("Microsoft."));
// found.MetaTFM ...

Version v = l.Result.PackagesConfigs.First().GetPackage("LX4Cnh")?.VersionParsed;
📑 Other changes in 2.6 ...
  • FIXED: Fixed CalculateHashCode() Extension.
    Internally affects many objects due to broken GetHashCode().

  • FIXED: Fixed SlnItems.ProjectDependenciesXml when empty input:
    Report #25 (comment)

  • NEW: packages.config support PR #30. Related issues #27, #28.
    To activate it, use the following flags:
    * PackagesConfig, PackagesConfigSolution, PackagesConfigLegacy.
    Including GetNuTool compatible packages, format:
    https://github.com/3F/GetNuTool#format-of-packages-list

  • NEW: Added HasValue and HasNothing properties in PropertyItem.

  • NEW: Added SlnItems.AllMinimal and SlnItems.AllNoLoad in addition to SlnItems.All.

  • NEW: Added IXProject.GetPackageReferences().

  • CHANGED: ConfigItem.Format() marked as obsolete.
    Use ToString() and IConfPlatform.Formatted instead.