diff --git a/SeeSharpShip/Extensions/EnumExtensions.cs b/SeeSharpShip.Model/Extensions/EnumExtensions.cs similarity index 92% rename from SeeSharpShip/Extensions/EnumExtensions.cs rename to SeeSharpShip.Model/Extensions/EnumExtensions.cs index 2f9c04a..f3ec509 100644 --- a/SeeSharpShip/Extensions/EnumExtensions.cs +++ b/SeeSharpShip.Model/Extensions/EnumExtensions.cs @@ -1,4 +1,4 @@ -#region SeeSharpShip is Copyright (C) 2011-2011 Michael J. Sumerano. +#region SeeSharpShip is Copyright (C) 2011-2011 Michael J. Sumerano. // This file is part of SeeSharpShip. // @@ -21,7 +21,7 @@ using System.ComponentModel; using System.Linq; -namespace SeeSharpShip.Extensions { +namespace SeeSharpShip.Model.Extensions { public static class EnumExtensions { public static string ToDescription(this Enum value) { return (from m in value.GetType().GetMember(value.ToString()) diff --git a/SeeSharpShip/Extensions/GuidExtensions.cs b/SeeSharpShip.Model/Extensions/GuidExtensions.cs similarity index 93% rename from SeeSharpShip/Extensions/GuidExtensions.cs rename to SeeSharpShip.Model/Extensions/GuidExtensions.cs index 13de3c8..dc1f014 100644 --- a/SeeSharpShip/Extensions/GuidExtensions.cs +++ b/SeeSharpShip.Model/Extensions/GuidExtensions.cs @@ -20,7 +20,7 @@ using System; using System.Linq; -namespace SeeSharpShip.Extensions { +namespace SeeSharpShip.Model.Extensions { public static class GuidExtensions { public static string ToShortId(this Guid value) { long i = value.ToByteArray().Aggregate(1, (current, b) => current*((int) b + 1)); diff --git a/SeeSharpShip/Extensions/ModelExtensions.cs b/SeeSharpShip.Model/Extensions/ModelExtensions.cs similarity index 95% rename from SeeSharpShip/Extensions/ModelExtensions.cs rename to SeeSharpShip.Model/Extensions/ModelExtensions.cs index a44e2e3..d560d81 100644 --- a/SeeSharpShip/Extensions/ModelExtensions.cs +++ b/SeeSharpShip.Model/Extensions/ModelExtensions.cs @@ -22,7 +22,7 @@ using System.Xml; using System.Xml.Serialization; -namespace SeeSharpShip.Extensions { +namespace SeeSharpShip.Model.Extensions { public static class ModelExtensions { public static string ToXmlString(this T value) where T : new() { var serializer = new XmlSerializer(typeof (T), string.Empty); diff --git a/SeeSharpShip.Model/SeeSharpShip.Model.csproj b/SeeSharpShip.Model/SeeSharpShip.Model.csproj index 29c0ead..291d89e 100644 --- a/SeeSharpShip.Model/SeeSharpShip.Model.csproj +++ b/SeeSharpShip.Model/SeeSharpShip.Model.csproj @@ -9,8 +9,9 @@ Properties SeeSharpShip.Model SeeSharpShip.Model - v4.5 + v4.0 512 + true @@ -42,7 +43,37 @@ Properties\AssemblyVersionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +