This month we have created two new packages for PodcastUtilities, a package for PodcastUtilities on .NET Framework on Windows and a cross platform package for PodcastUtilities on .NET Core.

PodcastUtilities is an application that enables complex local cache management for podcast feeds. Its available as a version for .NET Framework on Windows and also a cross platform version to run on Windows/Mac/Linux etc. The main difference between the two is that for syncing podcasts caches the .NET Framework versions supports MTP file systems, the cross platform version does not, for downloads the two versions are identical.

There never was an installer for PodcastUtilities so these new packages give an easy way to get it installed, the main advantages of the installer are

  1. PodcastUtilities for .NET Framework uses .NET 3.5, on older versions of Windows (Vista, XP, 7) that was fine but on Windows 10 it insisted on installing.NET 3.5 instead of using .NET 4 which was already installed. PodcastUtilities can run using .NET 4 but needs a config file to stop the user being prompted to install .NET 3.5, the package contains the config file
  2. The utility commands (DownloadPodcasts, SyncPodcasts, PurgePodcasts, GeneratePlaylist) are shimmed onto the path so they can be run from anywhere, the utility commands for the .NET Core version are called (DownloadPodcasts-core, SyncPodcasts-core, PurgePodcasts-core, GeneratePlaylist-core)
  3. A link to the documentation is placed on the desktop.

Installing Chocolatey on Windows 7

One thing that isn’t completely obvious, as the old TLS security was dropped by Chocolatey and Windows 7 was released before all this you need to make sure that Windows 7 can do TLS 1.2 from Powershell. The easiest way to do this is to install the Windows Management Framework 5.1, which will upgrade Powershell as well.

Running on .NET 3.5 or .NET 4

To get PodcastUtilities so that it would just run with the currently installed .NET Framework on Windows 7 and Windows 10 was a bit of a trick. I can across this great article which explained how to setup the .exe.config file up. I wanted the app to use .NET 3.5 if it was available (on either Windows 7 or 10) and fallback to using .NET 4 if it was available. It turns out that the .exe.config file needed to be like this

<?xml version="1.0"?>
    <supportedRuntime version="v2.0.50727"/>
    <supportedRuntime version="v4.0"/>

Installing PodcastUtilities

After installing chocolatey, to install the cross platform edition of PodcastUtilities run the command

choco install podcastutilities-core

At the time of writing the .NET framework version of the package had not been approved so to install the .NET Framework version you need this command

choco install podcastutilities --version

For most purposes you probably dont want or need to install both versions.