From 2dc5897765ba82589f0ac06efffee7f05dd75af1 Mon Sep 17 00:00:00 2001 From: Archi Date: Fri, 6 Aug 2021 00:12:57 +0200 Subject: [PATCH] Update namespace and fix icon --- Directory.Build.props | 2 +- Madness.sln => JustArchiNET.Madness.sln | 2 +- ...Settings => JustArchiNET.Madness.sln.DotSettings | 0 {Madness => JustArchiNET.Madness}/AssemblyInfo.cs | 0 .../AsyncDisposableWrapper.cs | 2 +- {Madness => JustArchiNET.Madness}/File.cs | 2 +- {Madness => JustArchiNET.Madness}/HashCode.cs | 2 +- .../JustArchiNET.Madness.csproj | 7 ++++++- {Madness => JustArchiNET.Madness}/Path.cs | 2 +- .../PathInternalNetCore.cs | 2 +- {Madness => JustArchiNET.Madness}/StaticHelpers.cs | 2 +- .../SupportedOSPlatformAttribute.cs | 2 +- resources/{skull.png => Madness.png} | Bin 13 files changed, 15 insertions(+), 10 deletions(-) rename Madness.sln => JustArchiNET.Madness.sln (83%) rename Madness.sln.DotSettings => JustArchiNET.Madness.sln.DotSettings (100%) rename {Madness => JustArchiNET.Madness}/AssemblyInfo.cs (100%) rename {Madness => JustArchiNET.Madness}/AsyncDisposableWrapper.cs (97%) rename {Madness => JustArchiNET.Madness}/File.cs (98%) rename {Madness => JustArchiNET.Madness}/HashCode.cs (97%) rename Madness/Madness.csproj => JustArchiNET.Madness/JustArchiNET.Madness.csproj (63%) rename {Madness => JustArchiNET.Madness}/Path.cs (99%) rename {Madness => JustArchiNET.Madness}/PathInternalNetCore.cs (99%) rename {Madness => JustArchiNET.Madness}/StaticHelpers.cs (99%) rename {Madness => JustArchiNET.Madness}/SupportedOSPlatformAttribute.cs (97%) rename resources/{skull.png => Madness.png} (100%) diff --git a/Directory.Build.props b/Directory.Build.props index 6978eb0..2ce0519 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 0.1.0 + 0.2.0 diff --git a/Madness.sln b/JustArchiNET.Madness.sln similarity index 83% rename from Madness.sln rename to JustArchiNET.Madness.sln index 79dc424..b0ce8e3 100644 --- a/Madness.sln +++ b/JustArchiNET.Madness.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.6.30114.105 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Madness", "Madness\Madness.csproj", "{38C29DDE-42C6-48A5-B416-37E1EA82E388}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JustArchiNET.Madness", "JustArchiNET.Madness\JustArchiNET.Madness.csproj", "{38C29DDE-42C6-48A5-B416-37E1EA82E388}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Madness.sln.DotSettings b/JustArchiNET.Madness.sln.DotSettings similarity index 100% rename from Madness.sln.DotSettings rename to JustArchiNET.Madness.sln.DotSettings diff --git a/Madness/AssemblyInfo.cs b/JustArchiNET.Madness/AssemblyInfo.cs similarity index 100% rename from Madness/AssemblyInfo.cs rename to JustArchiNET.Madness/AssemblyInfo.cs diff --git a/Madness/AsyncDisposableWrapper.cs b/JustArchiNET.Madness/AsyncDisposableWrapper.cs similarity index 97% rename from Madness/AsyncDisposableWrapper.cs rename to JustArchiNET.Madness/AsyncDisposableWrapper.cs index 5468f5c..e657092 100644 --- a/Madness/AsyncDisposableWrapper.cs +++ b/JustArchiNET.Madness/AsyncDisposableWrapper.cs @@ -22,7 +22,7 @@ using System; using System.Threading.Tasks; -namespace Madness { +namespace JustArchiNET.Madness { internal sealed class AsyncDisposableWrapper : IAsyncDisposable { private readonly IDisposable Disposable; diff --git a/Madness/File.cs b/JustArchiNET.Madness/File.cs similarity index 98% rename from Madness/File.cs rename to JustArchiNET.Madness/File.cs index 472c292..085c3e6 100644 --- a/Madness/File.cs +++ b/JustArchiNET.Madness/File.cs @@ -22,7 +22,7 @@ using System.Threading.Tasks; using JetBrains.Annotations; -namespace Madness { +namespace JustArchiNET.Madness { [PublicAPI] public static class File { public static Task AppendAllTextAsync(string path, string contents) { diff --git a/Madness/HashCode.cs b/JustArchiNET.Madness/HashCode.cs similarity index 97% rename from Madness/HashCode.cs rename to JustArchiNET.Madness/HashCode.cs index df90d38..d2503a2 100644 --- a/Madness/HashCode.cs +++ b/JustArchiNET.Madness/HashCode.cs @@ -21,7 +21,7 @@ using JetBrains.Annotations; -namespace Madness { +namespace JustArchiNET.Madness { [PublicAPI] public static class HashCode { public static int Combine(T1 value1, T2 value2, T3 value3) => (value1, value2, value3).GetHashCode(); diff --git a/Madness/Madness.csproj b/JustArchiNET.Madness/JustArchiNET.Madness.csproj similarity index 63% rename from Madness/Madness.csproj rename to JustArchiNET.Madness/JustArchiNET.Madness.csproj index 6e9b62e..5197d3c 100644 --- a/Madness/Madness.csproj +++ b/JustArchiNET.Madness/JustArchiNET.Madness.csproj @@ -1,7 +1,8 @@ true - JustArchiNET.Madness + Madness.png + https://github.com/JustArchiNET/Madness/releases $(PackageId) @@ -12,4 +13,8 @@ + + + + \ No newline at end of file diff --git a/Madness/Path.cs b/JustArchiNET.Madness/Path.cs similarity index 99% rename from Madness/Path.cs rename to JustArchiNET.Madness/Path.cs index fafdb81..3eaf233 100644 --- a/Madness/Path.cs +++ b/JustArchiNET.Madness/Path.cs @@ -23,7 +23,7 @@ using System.Text; using JetBrains.Annotations; -namespace Madness { +namespace JustArchiNET.Madness { [PublicAPI] public static class Path { public static string GetRelativePath(string relativeTo, string path) { diff --git a/Madness/PathInternalNetCore.cs b/JustArchiNET.Madness/PathInternalNetCore.cs similarity index 99% rename from Madness/PathInternalNetCore.cs rename to JustArchiNET.Madness/PathInternalNetCore.cs index ca59a41..35f122b 100644 --- a/Madness/PathInternalNetCore.cs +++ b/JustArchiNET.Madness/PathInternalNetCore.cs @@ -23,7 +23,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace Madness { +namespace JustArchiNET.Madness { internal static class PathInternalNetCore { private const string ExtendedDevicePathPrefix = @"\\?\"; private const string UncExtendedPathPrefix = @"\\?\UNC\"; diff --git a/Madness/StaticHelpers.cs b/JustArchiNET.Madness/StaticHelpers.cs similarity index 99% rename from Madness/StaticHelpers.cs rename to JustArchiNET.Madness/StaticHelpers.cs index f3e8f4b..6cedc67 100644 --- a/Madness/StaticHelpers.cs +++ b/JustArchiNET.Madness/StaticHelpers.cs @@ -30,7 +30,7 @@ using JetBrains.Annotations; using Microsoft.AspNetCore.Hosting; -namespace Madness { +namespace JustArchiNET.Madness { [PublicAPI] public static class StaticHelpers { public static bool IsRunningOnMono => Type.GetType("Mono.Runtime") != null; diff --git a/Madness/SupportedOSPlatformAttribute.cs b/JustArchiNET.Madness/SupportedOSPlatformAttribute.cs similarity index 97% rename from Madness/SupportedOSPlatformAttribute.cs rename to JustArchiNET.Madness/SupportedOSPlatformAttribute.cs index 4db3110..7356da8 100644 --- a/Madness/SupportedOSPlatformAttribute.cs +++ b/JustArchiNET.Madness/SupportedOSPlatformAttribute.cs @@ -22,7 +22,7 @@ using System; using JetBrains.Annotations; -namespace Madness { +namespace JustArchiNET.Madness { [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)] [PublicAPI] public sealed class SupportedOSPlatformAttribute : Attribute { diff --git a/resources/skull.png b/resources/Madness.png similarity index 100% rename from resources/skull.png rename to resources/Madness.png