From 9c061eacf145f18fa7ecacd14503c9c244f10ee3 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 18 Apr 2020 14:46:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20Drawing,=20WinForms=20a?= =?UTF-8?q?nd=20Unity=20projects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- X10D.Drawing/ImageExtensions.cs | 188 ----------------------- X10D.Drawing/Properties/AssemblyInfo.cs | 36 ----- X10D.Drawing/README.md | 11 -- X10D.Drawing/X10D.Drawing.csproj | 49 ------ X10D.Unity/.gitignore | 1 - X10D.Unity/MaterialExtensions.cs | 78 ---------- X10D.Unity/Properties/AssemblyInfo.cs | 36 ----- X10D.Unity/README.md | 17 -- X10D.Unity/Vector3Extensions.cs | 66 -------- X10D.Unity/X10D.Unity.csproj | 58 ------- X10D.WinForms/ControlExtensions.cs | 68 -------- X10D.WinForms/ListViewExtensions.cs | 31 ---- X10D.WinForms/Properties/AssemblyInfo.cs | 36 ----- X10D.WinForms/README.md | 12 -- X10D.WinForms/X10D.WinForms.csproj | 52 ------- X10D.sln | 30 ++-- 16 files changed, 12 insertions(+), 757 deletions(-) delete mode 100644 X10D.Drawing/ImageExtensions.cs delete mode 100644 X10D.Drawing/Properties/AssemblyInfo.cs delete mode 100644 X10D.Drawing/README.md delete mode 100644 X10D.Drawing/X10D.Drawing.csproj delete mode 100644 X10D.Unity/.gitignore delete mode 100644 X10D.Unity/MaterialExtensions.cs delete mode 100644 X10D.Unity/Properties/AssemblyInfo.cs delete mode 100644 X10D.Unity/README.md delete mode 100644 X10D.Unity/Vector3Extensions.cs delete mode 100644 X10D.Unity/X10D.Unity.csproj delete mode 100644 X10D.WinForms/ControlExtensions.cs delete mode 100644 X10D.WinForms/ListViewExtensions.cs delete mode 100644 X10D.WinForms/Properties/AssemblyInfo.cs delete mode 100644 X10D.WinForms/README.md delete mode 100644 X10D.WinForms/X10D.WinForms.csproj diff --git a/X10D.Drawing/ImageExtensions.cs b/X10D.Drawing/ImageExtensions.cs deleted file mode 100644 index 07dfcfa..0000000 --- a/X10D.Drawing/ImageExtensions.cs +++ /dev/null @@ -1,188 +0,0 @@ -namespace X10D.Drawing -{ - using System; - using System.Drawing; - using System.Drawing.Drawing2D; - using System.Drawing.Imaging; - using System.Threading.Tasks; - - /// - /// Extension methods for . - /// - public static class ImageExtensions - { - /// - /// Asynchronously converts the image so that its aspect ratio is 1:1, surrounding any new area with - /// transparency. - /// - /// The image to convert. - /// Returns an . - public static async Task ToSquareAsync(this Image image) - { - return await Task.Run(image.ToSquare); - } - - /// - /// Asynchronously converts the image so that its aspect ratio is 1:1, surrounding any new area with - /// transparency. - /// - /// The image to convert. - /// The new size of the image, i.e. the value of both the width and height. - /// Returns an . - public static async Task ToSquareAsync(this Image image, int size) - { - return await Task.Run(() => image.ToSquare(size)); - } - - /// - /// Asynchronously converts the image so that its aspect ratio is 1:1, surrounding any new area with a - /// specified background color. - /// - /// The image to convert. - /// The new size of the image, i.e. the value of both the width and height. - /// The background color to fill. - /// Returns an . - public static async Task ToSquareAsync(this Image image, int size, Color background) - { - return await Task.Run(() => image.ToSquare(size, background)); - } - - /// - /// Asynchronously converts the image so that its aspect ratio is 1:1, surrounding any new area with a - /// specified background color. - /// - /// The image to convert. - /// The background color to fill. - /// Returns an . - public static async Task ToSquareAsync(this Image image, Color background) - { - return await Task.Run(() => image.ToSquare(background)); - } - - /// - /// Converts the image so that its aspect ratio is 1:1, surrounding any new area with transparency. - /// - /// The image to convert. - /// Returns an . - public static Image ToSquare(this Image image) - { - return image.ToSquare(Color.Transparent); - } - - /// - /// Converts the image so that its aspect ratio is 1:1, surrounding any new area with transparency. - /// - /// The image to convert. - /// The new size of the image, i.e. the value of both the width and height. - /// Returns an . - public static Image ToSquare(this Image image, int size) - { - return image.ToSquare(size, Color.Transparent); - } - - /// - /// Converts the image so that its aspect ratio is 1:1, surrounding any new area with a specified background - /// color. - /// - /// The image to convert. - /// The background color to fill. - /// Returns an . - public static Image ToSquare(this Image image, Color background) - { - int resolution = Math.Max(image.Width, image.Height); - return image.ToSquare(resolution, background); - } - - /// - /// Converts the image so that its aspect ratio is 1:1, surrounding any new area with a specified background - /// color. - /// - /// The image to convert. - /// The new size of the image, i.e. the value of both the width and height. - /// The background color to fill. - /// Returns an . - public static Image ToSquare(this Image image, int size, Color background) - { - int resolution = Math.Max(image.Width, image.Height); - Bitmap newImage = new Bitmap(resolution, resolution); - - using (Graphics graphics = Graphics.FromImage(newImage)) - { - graphics.FillRectangle(new SolidBrush(background), new Rectangle(0, 0, - resolution, resolution)); - - graphics.DrawImageUnscaled(image, resolution / 2 - image.Width / 2, - resolution / 2 - image.Height / 2); - } - - return newImage.Scale(size, size); - } - - /// - /// Asynchronously scales the image. - /// - /// The image to scale. - /// The new width. - /// The new height. - /// Returns a new . - public static async Task ScaleAsync(this Image image, int width, int height) - { - return await Task.Run(() => image.Scale(width, height)); - } - - /// - /// Asynchronously scales the image. - /// - /// The image to scale. - /// The scale factor. - /// Returns a new . - public static async Task ScaleAsync(this Image image, float factor) - { - return await Task.Run(() => image.Scale(factor)); - } - - /// - /// Scales the image. - /// - /// The image to scale. - /// The scale factor. - /// Returns a new . - public static Bitmap Scale(this Image image, float factor) - { - return image.Scale((int) (image.Width * factor), (int) (image.Height * factor)); - } - - /// - /// Scales the image. - /// - /// The image to scale. - /// The new width. - /// The new height. - /// Returns a new . - public static Bitmap Scale(this Image image, int width, int height) - { - Rectangle destRect = new Rectangle(0, 0, width, height); - Bitmap destImage = new Bitmap(width, height); - - destImage.SetResolution(image.HorizontalResolution, image.VerticalResolution); - - using (Graphics graphics = Graphics.FromImage(destImage)) - { - graphics.CompositingMode = CompositingMode.SourceCopy; - graphics.CompositingQuality = CompositingQuality.HighQuality; - graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; - graphics.SmoothingMode = SmoothingMode.HighQuality; - graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; - - using (ImageAttributes wrapMode = new ImageAttributes()) - { - wrapMode.SetWrapMode(WrapMode.TileFlipXY); - graphics.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, - wrapMode); - } - } - - return destImage; - } - } -} diff --git a/X10D.Drawing/Properties/AssemblyInfo.cs b/X10D.Drawing/Properties/AssemblyInfo.cs deleted file mode 100644 index 8dd4268..0000000 --- a/X10D.Drawing/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Extensions.Drawing")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Extensions.Drawing")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("9e27fb65-4182-443c-8abe-71292f892b59")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/X10D.Drawing/README.md b/X10D.Drawing/README.md deleted file mode 100644 index 7fdb206..0000000 --- a/X10D.Drawing/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# X10D.Drawing - -## About -The X10D.Drawing library contains extension methods for the System.Drawing .NET library. - -## Extended Classes -Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. - -| Type | Library | Method count | -| :--- | :--- | :--- | -| `Image` | `X10D.Drawing` | 3 (+1 async) | diff --git a/X10D.Drawing/X10D.Drawing.csproj b/X10D.Drawing/X10D.Drawing.csproj deleted file mode 100644 index 4a38a32..0000000 --- a/X10D.Drawing/X10D.Drawing.csproj +++ /dev/null @@ -1,49 +0,0 @@ - - - - - Debug - AnyCPU - {9E27FB65-4182-443C-8ABE-71292F892B59} - Library - Properties - X10D.Drawing - X10D.Drawing - v4.6 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/X10D.Unity/.gitignore b/X10D.Unity/.gitignore deleted file mode 100644 index f1ff06d..0000000 --- a/X10D.Unity/.gitignore +++ /dev/null @@ -1 +0,0 @@ -lib/ \ No newline at end of file diff --git a/X10D.Unity/MaterialExtensions.cs b/X10D.Unity/MaterialExtensions.cs deleted file mode 100644 index 7029ee2..0000000 --- a/X10D.Unity/MaterialExtensions.cs +++ /dev/null @@ -1,78 +0,0 @@ -namespace X10D.Unity -{ - using System.Diagnostics.CodeAnalysis; - using UnityEngine; - - /// - /// A set of extension methods for . - /// - public static class MaterialExtensions - { - private static readonly int srcBlend = Shader.PropertyToID("_SrcBlend"); - private static readonly int dstBlend = Shader.PropertyToID("_DstBlend"); - private static readonly int zWrite = Shader.PropertyToID("_ZWrite"); - - /// - /// An enumeration of blend modes. - /// - public enum BlendMode - { - Opaque, - Cutout, - Fade, - Transparent - } - - /// - /// Changes the material's blend mode. - /// - /// The material. - /// The blend mode. - [SuppressMessage("ReSharper", "StringLiteralTypo")] - public static void ChangeRenderMode(this Material material, BlendMode blendMode) - { - switch (blendMode) - { - case BlendMode.Opaque: - material.SetInt(srcBlend, (int)UnityEngine.Rendering.BlendMode.One); - material.SetInt(dstBlend, (int)UnityEngine.Rendering.BlendMode.Zero); - material.SetInt(zWrite, 1); - material.DisableKeyword("_ALPHATEST_ON"); - material.DisableKeyword("_ALPHABLEND_ON"); - material.DisableKeyword("_ALPHAPREMULTIPLY_ON"); - material.renderQueue = -1; - break; - - case BlendMode.Cutout: - material.SetInt(srcBlend, (int)UnityEngine.Rendering.BlendMode.One); - material.SetInt(dstBlend, (int)UnityEngine.Rendering.BlendMode.Zero); - material.SetInt(zWrite, 1); - material.EnableKeyword("_ALPHATEST_ON"); - material.DisableKeyword("_ALPHABLEND_ON"); - material.DisableKeyword("_ALPHAPREMULTIPLY_ON"); - material.renderQueue = 2450; - break; - - case BlendMode.Fade: - material.SetInt(srcBlend, (int)UnityEngine.Rendering.BlendMode.SrcAlpha); - material.SetInt(dstBlend, (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha); - material.SetInt(zWrite, 0); - material.DisableKeyword("_ALPHATEST_ON"); - material.EnableKeyword("_ALPHABLEND_ON"); - material.DisableKeyword("_ALPHAPREMULTIPLY_ON"); - material.renderQueue = 3000; - break; - - case BlendMode.Transparent: - material.SetInt(srcBlend, (int)UnityEngine.Rendering.BlendMode.One); - material.SetInt(dstBlend, (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha); - material.SetInt(zWrite, 0); - material.DisableKeyword("_ALPHATEST_ON"); - material.DisableKeyword("_ALPHABLEND_ON"); - material.EnableKeyword("_ALPHAPREMULTIPLY_ON"); - material.renderQueue = 3000; - break; - } - } - } -} diff --git a/X10D.Unity/Properties/AssemblyInfo.cs b/X10D.Unity/Properties/AssemblyInfo.cs deleted file mode 100644 index 0cb6fa5..0000000 --- a/X10D.Unity/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Extensions.Unity")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Extensions.Unity")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2657ef66-0334-4a5a-8c24-6c949224a989")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/X10D.Unity/README.md b/X10D.Unity/README.md deleted file mode 100644 index 3fe6c6b..0000000 --- a/X10D.Unity/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# X10D.Unity - -## About -The X10D.Unity library contains extension methods for Unity engine types. - -## Extended Classes -Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. - -| Type | Library | Method count | -| :--- | :--- | :--- | -| `Material` | `X10D.Unity` | 1 | -| `Vector3` | `X10D.Unity` | 5 | - -## Building -To build this library, you will need to reference lib/UnityEngine.CoreModule.dll - -You can find this library under `/Editor/Data/Managed/UnityEngine` \ No newline at end of file diff --git a/X10D.Unity/Vector3Extensions.cs b/X10D.Unity/Vector3Extensions.cs deleted file mode 100644 index 6339f22..0000000 --- a/X10D.Unity/Vector3Extensions.cs +++ /dev/null @@ -1,66 +0,0 @@ -namespace X10D.Unity -{ - using UnityEngine; - - /// - /// A set of extension methods for . - /// - public static class Vector3Extensions - { - /// - /// Converts a vector normal to an Euler rotation. - /// - /// The vector normal. - /// Returns a representing the Euler rotation. - public static Vector3 NormalToEulerAngles(this Vector3 v) - { - float x = v.x; - v.x = v.z; - v.z = x; - v.z *= 2.0f * v.y; - v.y = 0.0f; - return v * 90.0f; - } - - /// - /// Rounds a vector to the nearest value. - /// - /// The vector to round. - /// The nearest value. - /// Returns a containing the rounded values. - public static Vector3 Round(this Vector3 v, int nearest = 1) - { - return new Vector3(v.x.Round(nearest), v.y.Round(nearest), v.z.Round(nearest)); - } - - /// - /// Inverts the X component of a vector. - /// - /// The vector to evaluate. - /// Returns a whose values are (-X, Y, Z). - public static Vector3 InvertX(this Vector3 v) - { - return new Vector3(-v.x, v.y, v.z); - } - - /// - /// Inverts the Y component of a vector. - /// - /// The vector to evaluate. - /// Returns a whose values are (X, -Y, Z). - public static Vector3 InvertY(this Vector3 v) - { - return new Vector3(v.x, -v.y, v.z); - } - - /// - /// Inverts the Z component of a vector. - /// - /// The vector to evaluate. - /// Returns a whose values are (X, Y, -Z). - public static Vector3 InvertZ(this Vector3 v) - { - return new Vector3(v.x, v.y, -v.z); - } - } -} diff --git a/X10D.Unity/X10D.Unity.csproj b/X10D.Unity/X10D.Unity.csproj deleted file mode 100644 index 270f610..0000000 --- a/X10D.Unity/X10D.Unity.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {2657EF66-0334-4A5A-8C24-6C949224A989} - Library - Properties - X10D.Unity - X10D.Unity - v4.6 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - lib\UnityEngine.CoreModule.dll - - - - - - - - - - {4a8cc062-8b82-4625-b3cc-7dbeab2af149} - X10D - - - - \ No newline at end of file diff --git a/X10D.WinForms/ControlExtensions.cs b/X10D.WinForms/ControlExtensions.cs deleted file mode 100644 index 97bee63..0000000 --- a/X10D.WinForms/ControlExtensions.cs +++ /dev/null @@ -1,68 +0,0 @@ -namespace X10D.WinForms -{ - using System; - using System.Collections.Generic; - using System.Linq; - using System.Windows.Forms; - - /// - /// Extension methods for . - /// - public static class ControlExtensions - { - /// - /// Gets all controls and child controls of a specified control. - /// - /// The parent control. - /// Returns a collection of controls. - public static IEnumerable GetAllControls(this Control control) - { - return control.GetAllControls(); - } - - /// - /// Gets all controls and child controls of a specified control, which match the specified type. - /// - /// A type. - /// The parent control. - /// Returns a collection of controls. - public static IEnumerable GetAllControls(this Control control) - where TControl : Control - { - return control.GetAllControls(typeof(TControl)).Cast(); - } - - /// - /// Gets all controls and child controls of a specified control, which match the specified type. - /// - /// The parent control. - /// The type to match. - /// Returns a collection of controls. - public static IEnumerable GetAllControls(this Control control, Type type) - { - IEnumerable controls = control.Controls.Cast().ToArray(); - - return controls.SelectMany(c => GetAllControls(c, type)) - .Concat(controls) - .Where(c => c.GetType() == type); - } - - /// - /// Thread-safe method invocation. Calls if - /// returns . - /// - /// The control from which to invoke. - /// The action to invoke. - public static void InvokeIfRequired(this Control control, MethodInvoker action) - { - if (control?.InvokeRequired ?? false) - { - control.Invoke(action); - } - else - { - action(); - } - } - } -} diff --git a/X10D.WinForms/ListViewExtensions.cs b/X10D.WinForms/ListViewExtensions.cs deleted file mode 100644 index a75aad8..0000000 --- a/X10D.WinForms/ListViewExtensions.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace X10D.WinForms -{ - using System.Windows.Forms; - - /// - /// A set of extension methods for and . - /// - public static class ListViewExtensions - { - /// - /// Moves the to the top of the specified . - /// - /// The to move. - /// Optional. The parent . Defaults to the current parent. - public static void MoveToTop(this ListViewItem item, ListView listView = null) - { - if (listView == null) - { - listView = item.ListView; - } - - if (listView.Items.Contains(item)) - { - int i = listView.Items.IndexOf(item); - listView.Items.RemoveAt(i); - } - - listView.Items.Insert(0, item); - } - } -} diff --git a/X10D.WinForms/Properties/AssemblyInfo.cs b/X10D.WinForms/Properties/AssemblyInfo.cs deleted file mode 100644 index 7878f12..0000000 --- a/X10D.WinForms/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Extensions.WinForms")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Extensions.WinForms")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("8bc9ef95-dc0f-4866-a01e-f07bbc675829")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/X10D.WinForms/README.md b/X10D.WinForms/README.md deleted file mode 100644 index f85ed99..0000000 --- a/X10D.WinForms/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# X10D.WinForms - -## About -The X10D.WinForms library contains extension methods for the System.Windows.Forms library. - -## Extended Classes -Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. - -| Type | Library | Method count | -| :--- | :--- | :--- | -| `Control` | `X10D.WinForms` | 2 | -| `ListViewItem` | `X10D.Unity` | 1 | diff --git a/X10D.WinForms/X10D.WinForms.csproj b/X10D.WinForms/X10D.WinForms.csproj deleted file mode 100644 index 29f196b..0000000 --- a/X10D.WinForms/X10D.WinForms.csproj +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Debug - AnyCPU - {8BC9EF95-DC0F-4866-A01E-F07BBC675829} - Library - Properties - X10D.WinForms - X10D.WinForms - v4.6 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 8.0 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 8.0 - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/X10D.sln b/X10D.sln index 9b3182a..c1ecf83 100644 --- a/X10D.sln +++ b/X10D.sln @@ -3,36 +3,30 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.28902.138 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "X10D.WinForms", "X10D.WinForms\X10D.WinForms.csproj", "{8BC9EF95-DC0F-4866-A01E-F07BBC675829}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "X10D.Drawing", "X10D.Drawing\X10D.Drawing.csproj", "{9E27FB65-4182-443C-8ABE-71292F892B59}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "X10D.Unity", "X10D.Unity\X10D.Unity.csproj", "{2657EF66-0334-4A5A-8C24-6C949224A989}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "X10D", "X10D\X10D.csproj", "{4A8CC062-8B82-4625-B3CC-7DBEAB2AF149}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "X10D.Tests", "X10D.Tests\X10D.Tests.csproj", "{DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FF6E59AB-1A23-4981-834C-47BEB5A46DC1}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + X10D.ruleset = X10D.ruleset + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8BC9EF95-DC0F-4866-A01E-F07BBC675829}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8BC9EF95-DC0F-4866-A01E-F07BBC675829}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8BC9EF95-DC0F-4866-A01E-F07BBC675829}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8BC9EF95-DC0F-4866-A01E-F07BBC675829}.Release|Any CPU.Build.0 = Release|Any CPU - {9E27FB65-4182-443C-8ABE-71292F892B59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9E27FB65-4182-443C-8ABE-71292F892B59}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9E27FB65-4182-443C-8ABE-71292F892B59}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9E27FB65-4182-443C-8ABE-71292F892B59}.Release|Any CPU.Build.0 = Release|Any CPU - {2657EF66-0334-4A5A-8C24-6C949224A989}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2657EF66-0334-4A5A-8C24-6C949224A989}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2657EF66-0334-4A5A-8C24-6C949224A989}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2657EF66-0334-4A5A-8C24-6C949224A989}.Release|Any CPU.Build.0 = Release|Any CPU {4A8CC062-8B82-4625-B3CC-7DBEAB2AF149}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4A8CC062-8B82-4625-B3CC-7DBEAB2AF149}.Debug|Any CPU.Build.0 = Debug|Any CPU {4A8CC062-8B82-4625-B3CC-7DBEAB2AF149}.Release|Any CPU.ActiveCfg = Release|Any CPU {4A8CC062-8B82-4625-B3CC-7DBEAB2AF149}.Release|Any CPU.Build.0 = Release|Any CPU + {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE