From 6af41a9bb3f0e803055f60be26ef0ac7e506db61 Mon Sep 17 00:00:00 2001
From: Deterous <138427222+Deterous@users.noreply.github.com>
Date: Wed, 7 Feb 2024 15:43:23 +0900
Subject: [PATCH] Include dependencies in nupkg
---
IRDKit/IRDKit.csproj | 2 +-
LibIRD/LibIRD.csproj | 11 ++++++++++-
LibIRD/ParamSFO.cs | 5 -----
LibIRD/ReIRD.cs | 4 +---
4 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/IRDKit/IRDKit.csproj b/IRDKit/IRDKit.csproj
index 5fa0c43..4a7a9ee 100644
--- a/IRDKit/IRDKit.csproj
+++ b/IRDKit/IRDKit.csproj
@@ -9,7 +9,7 @@
win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64
latest
true
- 0.4.2
+ 0.4.3
Deterous
diff --git a/LibIRD/LibIRD.csproj b/LibIRD/LibIRD.csproj
index 44e4aab..55d68d3 100644
--- a/LibIRD/LibIRD.csproj
+++ b/LibIRD/LibIRD.csproj
@@ -6,7 +6,7 @@
win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64
latest
true
- 0.4.2
+ 0.4.3
../nupkg
@@ -32,4 +32,13 @@
+
+ $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage
+
+
+
+
+
+
+
diff --git a/LibIRD/ParamSFO.cs b/LibIRD/ParamSFO.cs
index a3d977c..35b65ce 100644
--- a/LibIRD/ParamSFO.cs
+++ b/LibIRD/ParamSFO.cs
@@ -43,13 +43,8 @@ namespace LibIRD
/// Constructor using a PARAM.SFO file path
///
/// Full file path to the PARAM.SFO file
- ///
public ParamSFO(string sfoPath)
{
- // Validate file path
- if (sfoPath == null || sfoPath.Length <= 0)
- throw new ArgumentNullException(nameof(sfoPath));
-
// Read file as a stream, and parse file
using FileStream fs = new(sfoPath, FileMode.Open, FileAccess.Read);
Parse(fs);
diff --git a/LibIRD/ReIRD.cs b/LibIRD/ReIRD.cs
index d29eebf..91cb40f 100644
--- a/LibIRD/ReIRD.cs
+++ b/LibIRD/ReIRD.cs
@@ -59,7 +59,6 @@ namespace LibIRD
///
/// Path to the ISO
/// Path to the GetKey log file
- ///
public ReIRD(string isoPath, string getKeyLog) : base(isoPath, getKeyLog, true)
{
// Generate Unique Identifier using ISO CRC32
@@ -240,7 +239,6 @@ namespace LibIRD
/// Generates the UID field by computing the CRC32 hash of the ISO
///
/// Path to the ISO
- ///
///
private static uint GenerateUID(string isoPath)
{
@@ -274,7 +272,7 @@ namespace LibIRD
/// Calculates ISO file size
///
/// Path to the ISO
- ///
+ ///
///
private static long CalculateSize(string isoPath)
{