.NET 9 was announced recently, and as usual, there are many improvements, including C# 13 and F# 9. It seems were a lot of performance boosts in this release. (See Steven Toub’s video “Performance Improvements in .NET 9” for some of the details.)

I spent a bit of time upgrading CCVTAC and AudioTagger to .NET 9 this morning. As usual, there were no problems. (I did run into an apparent false-positive error bug in Rider, which I’ve recently begun using, but it was ignorable.)

I used Rider to upgrade all of my NuGet packages to their latest versions as well, which was quite convenient. During this process, I learned about dotnet nuget why, which displays the dependency graph for a particular package. For example, here’s my output for CCVTAC when I ran it for System.Net.Http:

Project 'CCVTAC.Console' does not have a dependency on 'System.Net.Http'.
Project 'CCVTAC.Console.Tests' has the following dependency graph(s) for 'System.Net.Http':

  [net9.0]
   │  
   └─ xunit (v2.4.2)
      ├─ xunit.assert (v2.4.2)
      │  └─ NETStandard.Library (v1.6.1)
      │     └─ System.Net.Http (v4.3.0)
      └─ xunit.core (v2.4.2)
         ├─ xunit.extensibility.core (v2.4.2)
         │  └─ NETStandard.Library (v1.6.1)
         │     └─ System.Net.Http (v4.3.0)
         └─ xunit.extensibility.execution (v2.4.2)
            ├─ NETStandard.Library (v1.6.1)
            │  └─ System.Net.Http (v4.3.0)
            └─ xunit.extensibility.core (v2.4.2)
               └─ NETStandard.Library (v1.6.1)
                  └─ System.Net.Http (v4.3.0)

Project 'CCVTAC.FSharp' does not have a dependency on 'System.Net.Http'.
Project 'CCVTAC.FSharp.Tests' does not have a dependency on 'System.Net.Http'.

Looking more at that site, there are several more dotnet commands than I was aware of. Good to know!


<
Previous Post
JetBrains Rider
>
Next Post
Ruby on Rails: simple_format()