Skip to content

Commit fb00c70

Browse files
committed
Add strong name to the projects
1 parent 23e3060 commit fb00c70

File tree

8 files changed

+61
-2
lines changed

8 files changed

+61
-2
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.cs diff=csharp

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ _ReSharper*/
3333
packages/
3434
/Confuser.Test
3535
*.sln.*
36-
gh-pages/
36+
gh-pages/
37+
ConfuserEx.snk

Confuser.CLI/Confuser.CLI.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
<DocumentationFile>
3939
</DocumentationFile>
4040
</PropertyGroup>
41+
<PropertyGroup>
42+
<SignAssembly>true</SignAssembly>
43+
</PropertyGroup>
44+
<PropertyGroup>
45+
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
46+
</PropertyGroup>
4147
<ItemGroup>
4248
<Reference Include="System" />
4349
<Reference Include="System.Core" />
@@ -74,6 +80,9 @@
7480
</ProjectReference>
7581
</ItemGroup>
7682
<ItemGroup>
83+
<None Include="..\ConfuserEx.snk">
84+
<Link>Properties\ConfuserEx.snk</Link>
85+
</None>
7786
<None Include="packages.config" />
7887
</ItemGroup>
7988
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

Confuser.Core/Confuser.Core.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
<WarningLevel>4</WarningLevel>
3535
<DocumentationFile>..\Release\bin\Confuser.Core.xml</DocumentationFile>
3636
</PropertyGroup>
37+
<PropertyGroup>
38+
<SignAssembly>true</SignAssembly>
39+
</PropertyGroup>
40+
<PropertyGroup>
41+
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
42+
</PropertyGroup>
3743
<ItemGroup>
3844
<Reference Include="System" />
3945
<Reference Include="System.Core" />
@@ -126,6 +132,9 @@
126132
</EmbeddedResource>
127133
</ItemGroup>
128134
<ItemGroup>
135+
<None Include="..\ConfuserEx.snk">
136+
<Link>Properties\ConfuserEx.snk</Link>
137+
</None>
129138
<None Include="packages.config" />
130139
</ItemGroup>
131140
<ItemGroup />

Confuser.DynCipher/Confuser.DynCipher.csproj

+11
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
3232
</PropertyGroup>
33+
<PropertyGroup>
34+
<SignAssembly>true</SignAssembly>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
38+
</PropertyGroup>
3339
<ItemGroup>
3440
<Reference Include="System" />
3541
<Reference Include="System.Core" />
@@ -79,6 +85,11 @@
7985
<Name>dnlib</Name>
8086
</ProjectReference>
8187
</ItemGroup>
88+
<ItemGroup>
89+
<None Include="..\ConfuserEx.snk">
90+
<Link>Properties\ConfuserEx.snk</Link>
91+
</None>
92+
</ItemGroup>
8293
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8394
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8495
Other similar extension points exist, see Microsoft.Common.targets.

Confuser.Protections/Confuser.Protections.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
<ErrorReport>prompt</ErrorReport>
3333
<WarningLevel>4</WarningLevel>
3434
</PropertyGroup>
35+
<PropertyGroup>
36+
<SignAssembly>true</SignAssembly>
37+
</PropertyGroup>
38+
<PropertyGroup>
39+
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
40+
</PropertyGroup>
3541
<ItemGroup>
3642
<Reference Include="System" />
3743
<Reference Include="System.Core" />
@@ -109,6 +115,9 @@
109115
<Compile Include="Resources\ResourceProtection.cs" />
110116
</ItemGroup>
111117
<ItemGroup>
118+
<None Include="..\ConfuserEx.snk">
119+
<Link>Properties\ConfuserEx.snk</Link>
120+
</None>
112121
<None Include="packages.config" />
113122
</ItemGroup>
114123
<ItemGroup>

Confuser.Renamer/Confuser.Renamer.csproj

+11-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
3232
</PropertyGroup>
33+
<PropertyGroup>
34+
<SignAssembly>true</SignAssembly>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
38+
</PropertyGroup>
3339
<ItemGroup>
3440
<Reference Include="System" />
3541
<Reference Include="System.Core" />
@@ -84,7 +90,11 @@
8490
<Name>dnlib</Name>
8591
</ProjectReference>
8692
</ItemGroup>
87-
<ItemGroup />
93+
<ItemGroup>
94+
<None Include="..\ConfuserEx.snk">
95+
<Link>Properties\ConfuserEx.snk</Link>
96+
</None>
97+
</ItemGroup>
8898
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8999
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
90100
Other similar extension points exist, see Microsoft.Common.targets.

Confuser.Runtime/Confuser.Runtime.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
<WarningLevel>4</WarningLevel>
3434
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3535
</PropertyGroup>
36+
<PropertyGroup>
37+
<SignAssembly>true</SignAssembly>
38+
</PropertyGroup>
39+
<PropertyGroup>
40+
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
41+
</PropertyGroup>
3642
<ItemGroup>
3743
<Compile Include="AntiDump.cs" />
3844
<Compile Include="AntiDebug.Win32.cs" />
@@ -56,6 +62,9 @@
5662
<Reference Include="System" />
5763
</ItemGroup>
5864
<ItemGroup>
65+
<None Include="..\ConfuserEx.snk">
66+
<Link>Properties\ConfuserEx.snk</Link>
67+
</None>
5968
<None Include="antinet\ABOUT" />
6069
</ItemGroup>
6170
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

0 commit comments

Comments
 (0)