Updated InterjectionsRepository to check if the dictionary directory exists before attempting to save files. If the directory does not exist, it will now be created automatically. This change prevents potential errors during file saving operations.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This change merges several separate ItemGroup sections in the Test.csproj file into fewer ones. It improves the structure and readability of the project file without altering its functionality. This will make future updates to the project file simpler and more efficient.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Consolidate MSTest package versions for simplicity and to avoid conflicts. Removed individual MSTest related references from the project file and centralized the version management in Directory.Packages.props.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Re-enabling the MSTest.TestAdapter package reference allows the project to use MSTest framework adapters, ensuring it can run and discover MSTest tests correctly. This change is essential for maintaining compatibility with expected test structures and execution.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Deleted commented-out import statements that are no longer needed. This cleanup helps maintain code clarity and reduces confusion about dependencies.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Replaced deprecated MSTest.TestAdapter with new MSTest packages and added necessary analyzer configurations. Also included version management for the Microsoft.NET.Test.Sdk and various MSTest packages in Directory.Packages.props to ensure uniformity across the project.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Converted Test.csproj to SDK-style format for modern .NET framework targeting and project simplification. Added MSTest.TestAdapter and MSTest.TestFramework package references and their versions to Directory.Packages.props.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Renamed all occurrences of `textWriter` to `xmlWriter` for consistency and clarity. This change enhances code readability without altering functionality, ensuring that the `XmlWriter` object is consistently referenced throughout the file.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Enhanced HtmlUtil.cs with XML comments detailing the purpose of each HTML tag constant. This improves code readability and helps developers understand the specific usage of these constants.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Update the HtmlUtil.cs file to include comprehensive XML documentation for all public methods. This enhances code readability and provides detailed explanations for each method's functionality, parameters, and return values.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Enhanced the `FileUtil` class by adding multiple methods to determine specific file types and read file content in different ways. This includes methods for ZIP, 7-Zip, MP3, WAV, RAR, PNG, JPG, and other file formats, as well as functions to handle text and binary file operations.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This target was deleted from the project file as it is no longer necessary. The build process remains unaffected since the referenced NuGet package is already handled elsewhere. This change simplifies the csproj file and eliminates redundant checks.
Note: \packages\ directory is irrelevant for packagereference
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Moved version numbers from individual csproj files to Directory.Packages.props to enable centralized management of package versions. This simplifies version control and ensures consistency across the project.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Refactor project files to use Directory.Packages.props for centralized NuGet package management, making dependency updates easier and more consistent across projects. Removed explicit version specifications from individual project files.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Replaced tabs with spaces and adjusted XML formatting in Test.csproj to enhance readability and maintain consistency. No functional changes were made to the project configuration.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Removed the empty TargetFrameworkProfile and NuGetPackageImportStamp elements and added the RuntimeIdentifier property set to 'win'. This change specifies the runtime environment for the project, ensuring it targets the Windows platform explicitly.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Replaced `packages.config` with `PackageReference` in `Test.csproj` for streamlined package management. Also updated the `System.Net.Http` binding redirect in `app.config` from version `4.2.0.0` to `4.1.2.0`.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>