Skip to content

Commit

Permalink
Fix #3098: Naming scheme for .NET previews has changed a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Oct 17, 2023
1 parent 18666d8 commit d7168ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ILSpy/ViewModels/ManageAssemblyListsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ IEnumerable<PreconfiguredAssemblyList> ResolvePreconfiguredAssemblyLists()
continue;
foreach (var versionDir in Directory.GetDirectories(sdkDir))
{
var match = Regex.Match(versionDir, @"[/\\](?<name>[A-z0-9.]+)[/\\](?<version>\d+\.\d)+(.(?<revision>\d+))?(?<suffix>-preview.*)?$");
var match = Regex.Match(versionDir, @"[/\\](?<name>[A-z0-9.]+)[/\\](?<version>\d+\.\d+)(.(?<revision>\d+))?(?<suffix>-.*)?$");
if (!match.Success)
continue;
string name = match.Groups["name"].Value;
Expand Down

0 comments on commit d7168ae

Please sign in to comment.