From d0195ca529d0f9845cbb9b448b03088758504f87 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 3 Sep 2024 12:53:31 -0300 Subject: [PATCH] Update to use `NuGetPackageRoot` --- README.md | 2 +- ricaun.ILRepack/ricaun.ILRepack.csproj | 4 ++-- ricaun.ILRepack/ricaun.ILRepack.targets | 22 +++------------------- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 3d7ab20..a063ecb 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Property Name | Default Value | Description `ILRepackDeleteEnabled`| `true` | Enable / Disable delete dependencies repacked from output. `ILRepackImportance` | `Low` | Log importance to show in the console. (`Low` or `High`) `ILRepackCommandImportance` | `Low` | Log importance from the `ILRepack.exe` to show in the console. (`Low` or `High`) -`ILRepackCommandExtra` | `` | Extra command to be used in the `ILRepack.exe`. +`ILRepackCommandExtra` | | Extra command to be used in the `ILRepack.exe`. ```xml diff --git a/ricaun.ILRepack/ricaun.ILRepack.csproj b/ricaun.ILRepack/ricaun.ILRepack.csproj index 09bcf46..3a4e2cd 100644 --- a/ricaun.ILRepack/ricaun.ILRepack.csproj +++ b/ricaun.ILRepack/ricaun.ILRepack.csproj @@ -31,7 +31,7 @@ ricaun.ILRepack - 1.0.0-alpha.1 + 1.0.0-alpha.2 @@ -98,7 +98,7 @@ - + diff --git a/ricaun.ILRepack/ricaun.ILRepack.targets b/ricaun.ILRepack/ricaun.ILRepack.targets index f1963c4..ee4bb42 100644 --- a/ricaun.ILRepack/ricaun.ILRepack.targets +++ b/ricaun.ILRepack/ricaun.ILRepack.targets @@ -1,12 +1,9 @@ - true @@ -14,18 +11,6 @@ Low - - - - ilrepack\2.0.34\tools\ILRepack.exe - $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\..\..\$(ILRepackFilePathExec)')) - - @@ -77,8 +62,7 @@ "$(ILRepack)" $(ILRepackCommandExtra) $(ILRepackCommandLibFolder) $(ILRepackCommandOutput) $(ILRepackCommandInputAssemblies) - - +