From ff34f5cba135a02f6765369e81ef16e1db1d768d Mon Sep 17 00:00:00 2001 From: BuildFeed Bot <35148566+buildfeedbot@users.noreply.github.com> Date: Tue, 9 Jan 2018 19:39:46 +0000 Subject: [PATCH] Fix #93 - Neptune ProjectFamily assignment --- BuildFeed.Model/Build.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BuildFeed.Model/Build.cs b/BuildFeed.Model/Build.cs index d7f3f05..1fb0ce5 100644 --- a/BuildFeed.Model/Build.cs +++ b/BuildFeed.Model/Build.cs @@ -202,6 +202,10 @@ private void GenerateFamily() { Family = ProjectFamily.Longhorn; } + else if (MajorVersion == 5 && MinorVersion == 50) + { + Family = ProjectFamily.Neptune; + } else if (MajorVersion == 5 && Number >= 3000) { Family = ProjectFamily.Server2003; @@ -210,10 +214,6 @@ private void GenerateFamily() { Family = ProjectFamily.WindowsXP; } - else if (MajorVersion == 5 && MinorVersion == 50) - { - Family = ProjectFamily.Neptune; - } else if (MajorVersion == 5) { Family = ProjectFamily.Windows2000;