mirror of
https://github.com/brutaldev/StrongNameSigner.git
synced 2026-04-25 03:16:10 +03:00
[PR #22] [CLOSED] Refactor the code so that the UI and the Console version share more logic. #93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/brutaldev/StrongNameSigner/pull/22
Author: @bradphelan
Created: 4/26/2016
Status: ❌ Closed
Base:
master← Head:master📝 Commits (7)
b68eb2eAdd editorconfig for the EditorConfig Visual Studio plugin349ba7aDo not write assemblies until the end.ed15916Refactor the code into an easier to understand logic.b35c292don't perform copy if the source is the same as the target63e64edadd read and write debug symbols3bf5f33remove leading slashes if they occurbd1db59add copy of pdb files if they exist📊 Changes
19 files changed (+588 additions, -601 deletions)
View changed files
➕
.editorconfig(+12 -0)📝
src/Brutal.Dev.StrongNameSigner.Console/Brutal.Dev.StrongNameSigner.Console.csproj(+16 -1)➖
src/Brutal.Dev.StrongNameSigner.Console/LogLevel.cs(+0 -13)📝
src/Brutal.Dev.StrongNameSigner.Console/Options.cs(+1 -1)📝
src/Brutal.Dev.StrongNameSigner.Console/Program.cs(+19 -190)📝
src/Brutal.Dev.StrongNameSigner.Console/packages.config(+1 -0)📝
src/Brutal.Dev.StrongNameSigner.Setup/scripts/isxdl/czech.ini(+53 -53)📝
src/Brutal.Dev.StrongNameSigner.Tests/Brutal.Dev.StrongNameSigner.Tests.csproj(+1 -0)📝
src/Brutal.Dev.StrongNameSigner.Tests/FixAssemblyReferenceTests.cs(+7 -2)📝
src/Brutal.Dev.StrongNameSigner.Tests/GetAssemblyInfoTests.cs(+1 -0)📝
src/Brutal.Dev.StrongNameSigner.UI/Brutal.Dev.StrongNameSigner.UI.csproj(+1 -0)📝
src/Brutal.Dev.StrongNameSigner.UI/MainForm.Designer.cs(+1 -1)📝
src/Brutal.Dev.StrongNameSigner.UI/MainForm.cs(+15 -105)➕
src/Brutal.Dev.StrongNameSigner/AssemblyCollection.cs(+87 -0)➕
src/Brutal.Dev.StrongNameSigner/AssemblyHolder.cs(+215 -0)📝
src/Brutal.Dev.StrongNameSigner/Brutal.Dev.StrongNameSigner.csproj(+5 -0)➕
src/Brutal.Dev.StrongNameSigner/LogLevel.cs(+11 -0)📝
src/Brutal.Dev.StrongNameSigner/SigningHelper.cs(+133 -235)➕
src/Brutal.Dev.StrongNameSigner/Stats.cs(+9 -0)📄 Description
I created AssemblyCollection and AssemblyHolder to unify all the shared logic in the UI and the console versions. Logging is now an inject-able dependency that is different in the UI and console versions.
The code should also be much faster as it doesn't write and read the assemblies as often, especially in the loop where the references are updated. I save and sign all the assemblies at the end.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.