File tree Expand file tree Collapse file tree 10 files changed +23
-0
lines changed
NLog.Targets.Stackify/Properties
StackifyLib.AspNetCore/Properties
StackifyLib.CoreLogger/Properties
StackifyLib.ELMAH/Properties
StackifyLib.StackifyTraceListener/Properties
StackifyLib.log4net/Properties Expand file tree Collapse file tree 10 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,5 @@ packages/
3030** /bin /*
3131** /obj /*
3232BuildOutput /
33+ * .pfx
34+ * .snk
Original file line number Diff line number Diff line change 1+ function Remove-SignCode {
2+ param (
3+ $ASMFile
4+ )
5+ Set-Content - Path $ASMFile - Value (Get-Content - Path $ASMFile | Select-String - Pattern AssemblyKeyFileAttribute -NotMatch )
6+ }
7+
8+ $files = @ (Get-ChildItem - Path . - Directory - Filter Stackify* )
9+
10+ foreach ($file in $files ) {
11+ $asmInfo = Get-ChildItem - Path $file / Properties/ AssemblyInfo.cs
12+ Remove-SignCode - ASMFile $asmInfo
13+ }
Original file line number Diff line number Diff line change 1313[ assembly: AssemblyCopyright ( "Copyright © 2015" ) ]
1414[ assembly: AssemblyTrademark ( "" ) ]
1515[ assembly: AssemblyCulture ( "" ) ]
16+ [ assembly: AssemblyKeyFileAttribute ( "..\\ StackifyLib\\ Netreo.snk" ) ]
1617
1718// Setting ComVisible to false makes the types in this assembly not visible
1819// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 99[ assembly: AssemblyCompany ( "Stackify" ) ]
1010[ assembly: AssemblyProduct ( "StackifyLib.AspNetCore" ) ]
1111[ assembly: AssemblyTrademark ( "" ) ]
12+ [ assembly: AssemblyKeyFileAttribute ( "..\\ StackifyLib\\ Netreo.snk" ) ]
1213
1314// Setting ComVisible to false makes the types in this assembly not visible
1415// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 99[ assembly: AssemblyCompany ( "Stackify" ) ]
1010[ assembly: AssemblyProduct ( "StackifyLib.CoreLogger" ) ]
1111[ assembly: AssemblyTrademark ( "" ) ]
12+ [ assembly: AssemblyKeyFileAttribute ( "..\\ StackifyLib\\ Netreo.snk" ) ]
1213
1314// Setting ComVisible to false makes the types in this assembly not visible
1415// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 1313[ assembly: AssemblyCopyright ( "Copyright © 2015" ) ]
1414[ assembly: AssemblyTrademark ( "" ) ]
1515[ assembly: AssemblyCulture ( "" ) ]
16+ [ assembly: AssemblyKeyFileAttribute ( "..\\ StackifyLib\\ Netreo.snk" ) ]
1617
1718// Setting ComVisible to false makes the types in this assembly not visible
1819// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 99[ assembly: AssemblyCompany ( "Stackify" ) ]
1010[ assembly: AssemblyProduct ( "StackifyLib.StackifyTraceListener" ) ]
1111[ assembly: AssemblyTrademark ( "" ) ]
12+ [ assembly: AssemblyKeyFileAttribute ( "..\\ StackifyLib\\ Netreo.snk" ) ]
1213
1314// Setting ComVisible to false makes the types in this assembly not visible
1415// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 1313[ assembly: AssemblyCopyright ( "Copyright © 2015" ) ]
1414[ assembly: AssemblyTrademark ( "" ) ]
1515[ assembly: AssemblyCulture ( "" ) ]
16+ [ assembly: AssemblyKeyFileAttribute ( "..\\ StackifyLib\\ Netreo.snk" ) ]
1617
1718// Setting ComVisible to false makes the types in this assembly not visible
1819// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 1313[ assembly: AssemblyCopyright ( "Copyright © 2018-2020" ) ]
1414[ assembly: AssemblyTrademark ( "" ) ]
1515[ assembly: AssemblyCulture ( "" ) ]
16+ [ assembly: AssemblyKeyFileAttribute ( "Netreo.snk" ) ]
1617
1718// Setting ComVisible to false makes the types in this assembly not visible
1819// to COM components. If you need to access a type in this assembly from
Original file line number Diff line number Diff line change 2323 <AssemblyVersion >2.2.7.0</AssemblyVersion >
2424 <FileVersion >2.2.7.0</FileVersion >
2525 <PackageReleaseNotes >Remove default internal file logger</PackageReleaseNotes >
26+ <SignAssembly >false</SignAssembly >
2627 </PropertyGroup >
2728
2829 <ItemGroup >
You can’t perform that action at this time.
0 commit comments