Skip to content

Commit

Permalink
Updated .Net 8 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BarRaider committed Jan 23, 2024
1 parent f3ee983 commit a6537a1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion barraider-sdtools/Tools/IUpdateHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace BarRaider.SdTools
{
// <summary>
/// <summary>
/// Interface for a plugin update handler
/// </summary>
public interface IUpdateHandler : IDisposable
Expand Down
2 changes: 1 addition & 1 deletion barraider-sdtools/Tools/Tools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public static string BytesToSHA512(byte[] byteStream)
{
try
{
using (SHA512CryptoServiceProvider sha512 = new SHA512CryptoServiceProvider())
using (SHA512 sha512 = SHA512.Create())
{
byte[] hash = sha512.ComputeHash(byteStream);
return BitConverter.ToString(hash).Replace("-", "").ToLowerInvariant();
Expand Down
8 changes: 8 additions & 0 deletions barraider-sdtools/barraider-sdtools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,24 @@ Feel free to contact me for more information: https://barraider.com</Description
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
<DocumentationFile></DocumentationFile>
<NoWarn>1701;1702;CA1416</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|x64'">
<DocumentationFile />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<DocumentationFile>streamdeck-tools.xml</DocumentationFile>
<NoWarn>1701;1702;CA1416</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|x64'">
<DocumentationFile>streamdeck-tools.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
<NoWarn>1701;1702;CA1416</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<NoWarn>1701;1702;CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
6 changes: 5 additions & 1 deletion barraider-sdtools/streamdeck-tools.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a6537a1

Please sign in to comment.