diff --git a/README.md b/README.md index 8a8b130..be4abdb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Exceptional is an extension for ReSharper which analyzes thrown and documented C# exceptions and suggests improvements. -**Last Update: Date: 17.12.2023 - Resharper SDK 2023.3.1** Wave 233 +**Last Update: Date: 19.04.2024 - Resharper SDK 2024.4.1** Wave 241 ### Motivation diff --git a/build/Old Build/ExceptionalDevs.Exceptional.nuspec b/build/Old Build/ExceptionalDevs.Exceptional.nuspec index 9e83b69..0e9e14d 100644 --- a/build/Old Build/ExceptionalDevs.Exceptional.nuspec +++ b/build/Old Build/ExceptionalDevs.Exceptional.nuspec @@ -2,16 +2,16 @@ ExceptionalDevs.Exceptional.MF - 2023.3.1 + 2024.1.1 Exceptional by MF Analyzes thrown and documented C# exceptions and suggests improvements. Mahmoud Fakhoury https://github.com/hhu-mahmoud/ExceptionalReSharper - Copyright © 2023 MF + Copyright © 2024 MF Exception XMLdoc https://github.com/hhu-mahmoud/ExceptionalReSharper/blob/master/LICENSE.md - + diff --git a/build/Old Build/lib/ReSharper.Exceptional.MF.dll b/build/Old Build/lib/ReSharper.Exceptional.MF.dll index b38ea62..586c507 100644 Binary files a/build/Old Build/lib/ReSharper.Exceptional.MF.dll and b/build/Old Build/lib/ReSharper.Exceptional.MF.dll differ diff --git a/build/Packages/ExceptionalDevs.Exceptional.MF.2024.1.1.nupkg b/build/Packages/ExceptionalDevs.Exceptional.MF.2024.1.1.nupkg new file mode 100644 index 0000000..ce35221 Binary files /dev/null and b/build/Packages/ExceptionalDevs.Exceptional.MF.2024.1.1.nupkg differ diff --git a/src/Exceptional/Exceptional.csproj b/src/Exceptional/Exceptional.csproj index 251dd13..eb34efc 100644 --- a/src/Exceptional/Exceptional.csproj +++ b/src/Exceptional/Exceptional.csproj @@ -61,13 +61,13 @@ 2023.3.0 - 2023.3.3 + 2024.1.1 - 2023.3.3 + 2024.1.1 - 2023.3.1 + 2024.1.1 runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Exceptional/Options/GeneralOptionsPage.cs b/src/Exceptional/Options/GeneralOptionsPage.cs index afd1718..b6da0af 100644 --- a/src/Exceptional/Options/GeneralOptionsPage.cs +++ b/src/Exceptional/Options/GeneralOptionsPage.cs @@ -29,6 +29,8 @@ public GeneralOptionsPage( { CreateCheckboxInspectPublic(lifetime, optionsSettingsSmartContext.StoreOptionsTransactionContext); CreateDocumentationSection(lifetime, optionsSettingsSmartContext.StoreOptionsTransactionContext); + AddEmptyLine(); + AddText(OptionsLabels.General.ExtensionVersion); } #endregion diff --git a/src/Exceptional/Options/OptionsLabels.cs b/src/Exceptional/Options/OptionsLabels.cs index e866c30..bbcec11 100644 --- a/src/Exceptional/Options/OptionsLabels.cs +++ b/src/Exceptional/Options/OptionsLabels.cs @@ -18,11 +18,15 @@ public static class General { #region constants + private static readonly System.Reflection.Assembly Assembly = System.Reflection.Assembly.GetExecutingAssembly(); + private static readonly System.Diagnostics.FileVersionInfo Fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(Assembly.Location); + private static readonly string Version = Fvi.FileVersion; public const string DelegateInvocationsMayThrowSystemException = "Delegate invocations may throw System.Exception"; public const string DocumentationOfThrownExceptionsSubtypeHeader = "Documentation of thrown exception's subtype is sufficient..."; public const string IsDocumentationOfExceptionSubtypeSufficientForReferenceExpressions = "... for method or property invocations"; public const string IsDocumentationOfExceptionSubtypeSufficientForThrowStatements = "... for throw statements"; + public static readonly string ExtensionVersion = @$"Exceptional by MF - Version: {Version}"; #endregion } diff --git a/src/Exceptional/Properties/AssemblyInfo.cs b/src/Exceptional/Properties/AssemblyInfo.cs index 075fa99..4aa8c75 100644 --- a/src/Exceptional/Properties/AssemblyInfo.cs +++ b/src/Exceptional/Properties/AssemblyInfo.cs @@ -12,8 +12,8 @@ [assembly: System.Reflection.AssemblyDescription("Analyzes thrown and documented C# exceptions and suggests improvements.")] [assembly: System.Reflection.AssemblyProduct("Exceptional")] [assembly: System.Reflection.AssemblyCompany("Mahmoud Fakhoury")] -[assembly: System.Reflection.AssemblyCopyright("Copyright © 2023 MF")] -[assembly: System.Reflection.AssemblyVersion("2023.3.1")] +[assembly: System.Reflection.AssemblyCopyright("Copyright © 2024 MF")] +[assembly: System.Reflection.AssemblyVersion("2024.1.1")] [assembly: System.Runtime.InteropServices.ComVisible(false)] [assembly: System.Runtime.InteropServices.Guid("3628d589-e118-4c2c-bd8e-fdef6b6ed07c")]