diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml
index faaa1d9d..ae7a2c52 100644
--- a/.github/workflows/dotnet-desktop.yml
+++ b/.github/workflows/dotnet-desktop.yml
@@ -62,8 +62,6 @@ jobs:
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
- 8.0.x
10.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
@@ -72,12 +70,12 @@ jobs:
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
- run: msbuild ${{ env.SolutionPath }} /t:Restore /p:Configuration=${{ env.Configuration }} /p:Platform=x64 /v:m
+ run: msbuild ${{ env.SolutionPath }} /t:Restore /p:Configuration=${{ env.Configuration }} /p:Platform=x64 /v:m /bl:artifacts/logs/restore.binlog
env:
Configuration: Release
- name: Build
- run: msbuild ${{ env.SolutionPath }} /p:Configuration=${{ env.Configuration }} /p:Platform=x64 /v:m
+ run: msbuild ${{ env.SolutionPath }} /p:Configuration=${{ env.Configuration }} /p:Platform=x64 /v:m /bl:artifacts/logs/build.binlog
- name: Setup VSTest
uses: Malcolmnixon/Setup-VSTest@v4
@@ -133,4 +131,24 @@ jobs:
artifacts\bin\ConfuserEx\${{ env.Configuration }}_net10.0-windows
!artifacts\bin\ConfuserEx\${{ env.Configuration }}_net10.0-windows\*.pdb
!artifacts\bin\ConfuserEx\${{ env.Configuration }}_net10.0-windows\*.xml
+
+ - name: Upload Build log artifacts
+ uses: actions/upload-artifact@v6
+ with:
+ name: logs
+ path: |
+ artifacts\logs\*.binlog
+
+ - name: push to NuGet
+ # Only push to NuGet if we're building a tag (optional)
+ if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
+ shell: pwsh
+ # Loop through all the packages in the output folder and push them to
+ # nuget.org, using the NUGET_API_KEY generated by the previous login step
+ run: |
+ Get-ChildItem artifacts\package\${{ env.Configuration }} -Filter *.nupkg | ForEach-Object {
+ dotnet nuget push $_.FullName `
+ --api-key "${{ secrets.MYGET_CI_API_KEY }}" `
+ --source https://www.myget.org/F/obfuscation/api/v3/index.json
+ }
diff --git a/Confuser.Core/Confuser.Core.csproj b/Confuser.Core/Confuser.Core.csproj
index 8599a005..7e939181 100644
--- a/Confuser.Core/Confuser.Core.csproj
+++ b/Confuser.Core/Confuser.Core.csproj
@@ -6,6 +6,8 @@
net472;net8.0
true
+ true
+ README.md
@@ -13,6 +15,10 @@
Core framework of ConfuserEx
+
+
+
+
diff --git a/Confuser.Core/README.md b/Confuser.Core/README.md
new file mode 100644
index 00000000..dec451c0
--- /dev/null
+++ b/Confuser.Core/README.md
@@ -0,0 +1,4 @@
+Confuser.Core
+================
+
+Core framework of ConfuserEx. It contains the core services and obfuscation process support logic. Project support, compression using LZMA.
diff --git a/Confuser.DynCipher/Confuser.DynCipher.csproj b/Confuser.DynCipher/Confuser.DynCipher.csproj
index f9dbf160..cfc707bc 100644
--- a/Confuser.DynCipher/Confuser.DynCipher.csproj
+++ b/Confuser.DynCipher/Confuser.DynCipher.csproj
@@ -6,6 +6,8 @@
net472;net8.0
true
+ true
+ README.md
@@ -13,6 +15,10 @@
Cipher generator of ConfuserEx
+
+
+
+
diff --git a/Confuser.DynCipher/README.md b/Confuser.DynCipher/README.md
new file mode 100644
index 00000000..6fd055da
--- /dev/null
+++ b/Confuser.DynCipher/README.md
@@ -0,0 +1,4 @@
+Confuser.DynCipher
+================
+
+Dynamic cipher library for ConfuserEx.
diff --git a/Confuser.MSBuild.Tasks/Confuser.MSBuild.Tasks.csproj b/Confuser.MSBuild.Tasks/Confuser.MSBuild.Tasks.csproj
index a802b1a9..68e0c849 100644
--- a/Confuser.MSBuild.Tasks/Confuser.MSBuild.Tasks.csproj
+++ b/Confuser.MSBuild.Tasks/Confuser.MSBuild.Tasks.csproj
@@ -12,7 +12,7 @@
ConfuserEx - MSBuild Integration
This package contains the integration of ConfuserEx into the MSBuild build procedure. It allows automatically obfuscating the assemblies during the build.
MIT
- https://github.com/mkaring/ConfuserEx
+ https://github.com/kant2002/ConfuserEx
Obfuscation Confuser ConfuserEx
true
false
@@ -30,7 +30,7 @@
-
+
diff --git a/Confuser.Protections/Confuser.Protections.csproj b/Confuser.Protections/Confuser.Protections.csproj
index 77899d8c..6f311a32 100644
--- a/Confuser.Protections/Confuser.Protections.csproj
+++ b/Confuser.Protections/Confuser.Protections.csproj
@@ -6,7 +6,10 @@
net472;net8.0
true
+ true
..\Confuser.Runtime\Confuser.Runtime.csproj
+ README.md
+ $(TargetsForTfmSpecificContentInPackage);IncludeConfuserDependencyFiles
@@ -14,10 +17,14 @@
Protections and packers of ConfuserEx
+
+
+
+
-
+
@@ -26,11 +33,45 @@
+
+
+ IncludeConfuserDependencyFilesFramework;
+ IncludeConfuserDependencyFilesStandard
+
+
+
+
+
+
+
+ $(BaseOutputPath)$(ArtifactsPivots)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/Confuser.Protections/README.md b/Confuser.Protections/README.md
new file mode 100644
index 00000000..40092197
--- /dev/null
+++ b/Confuser.Protections/README.md
@@ -0,0 +1,4 @@
+Confuser.Protection
+================
+
+Confuser.Protection is a library that contains the implementations of the protection logic for protecting .NET assemblies. It includes various protection techniques such as control flow obfuscation, anti-debugging, anti-tampering, and more. Each protection technique is implemented as a separate class that inherits from the `Protection` base class, allowing for easy integration and customization within the ConfuserEx framework.
diff --git a/Confuser.Renamer/Confuser.Renamer.csproj b/Confuser.Renamer/Confuser.Renamer.csproj
index ed24f84a..8f248ada 100644
--- a/Confuser.Renamer/Confuser.Renamer.csproj
+++ b/Confuser.Renamer/Confuser.Renamer.csproj
@@ -6,6 +6,8 @@
true
net472;net8.0
+ true
+ README.md
@@ -13,6 +15,10 @@
Renaming analysis of ConfuserEx
+
+
+
+
diff --git a/Confuser.Renamer/README.md b/Confuser.Renamer/README.md
new file mode 100644
index 00000000..f62cfba2
--- /dev/null
+++ b/Confuser.Renamer/README.md
@@ -0,0 +1,5 @@
+Confuser.Renamer
+================
+
+Renaming analysis of ConfuserEx. It contains the implementations of the renaming logic for protecting .NET assemblies.
+
diff --git a/Confuser.Runtime/Confuser.Runtime.csproj b/Confuser.Runtime/Confuser.Runtime.csproj
index 7efa1362..17ad654e 100644
--- a/Confuser.Runtime/Confuser.Runtime.csproj
+++ b/Confuser.Runtime/Confuser.Runtime.csproj
@@ -7,6 +7,8 @@
net472;net8.0
true
true
+ true
+ README.md
@@ -14,6 +16,10 @@
Runtime library of ConfuserEx
+
+
+
+
all
diff --git a/Confuser.Runtime/README.md b/Confuser.Runtime/README.md
new file mode 100644
index 00000000..640fef44
--- /dev/null
+++ b/Confuser.Runtime/README.md
@@ -0,0 +1,4 @@
+Confuser.Runtime
+================
+
+Runtime which is used by ConfuserEx to protect .NET assemblies. It contains the implementations of the anti-tamper and anti-debugging features, as well as the decryption logic for encrypted strings and resources.
diff --git a/Confuser2.slnx b/Confuser2.slnx
index fd747489..dfe9f2dd 100644
--- a/Confuser2.slnx
+++ b/Confuser2.slnx
@@ -84,10 +84,10 @@
-
-
-
+
+
+
diff --git a/Directory.Build.props b/Directory.Build.props
index 5d49da36..3859f6e2 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,6 +2,7 @@
true
+ $(NoWarn);NU1702
@@ -20,4 +21,9 @@
GitHub
$(RepositoryUrl)
+
+
+
+
+
diff --git a/Tests/Confuser.MSBuild.Tasks.Tests/Confuser.MSBuild.Tasks.Tests.csproj b/Tests/Confuser.MSBuild.Tasks.Tests/Confuser.MSBuild.Tasks.Tests.csproj
index 596dede9..1b9863b2 100644
--- a/Tests/Confuser.MSBuild.Tasks.Tests/Confuser.MSBuild.Tasks.Tests.csproj
+++ b/Tests/Confuser.MSBuild.Tasks.Tests/Confuser.MSBuild.Tasks.Tests.csproj
@@ -31,7 +31,7 @@
-
+