Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
1fd38473
Commit
1fd38473
authored
Jun 24, 2014
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strong named deploy (parallel and separate)
parent
3d70d03a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
128 additions
and
1 deletion
+128
-1
packages.config
.nuget/packages.config
+1
-0
StackExchange.Redis.StrongName.nuspec
StackExchange.Redis.StrongName.nuspec
+30
-0
StackExchange.Redis.sln
StackExchange.Redis.sln
+4
-1
StackExchange.Redis.snk
StackExchange.Redis.snk
+0
-0
StrongName.ps1
StrongName.ps1
+3
-0
readme.md
packages/Nivot.StrongNaming.1.0.4.2/readme.md
+87
-0
Mono.Cecil.dll
packages/Nivot.StrongNaming.1.0.4.2/tools/Mono.Cecil.dll
+0
-0
Nivot.PowerShell.StrongNaming.dll
...ongNaming.1.0.4.2/tools/Nivot.PowerShell.StrongNaming.dll
+0
-0
StrongNaming.psd1
packages/Nivot.StrongNaming.1.0.4.2/tools/StrongNaming.psd1
+0
-0
init.ps1
packages/Nivot.StrongNaming.1.0.4.2/tools/init.ps1
+3
-0
No files found.
.nuget/packages.config
View file @
1fd38473
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
packages
>
<
package
id
=
"Nivot.StrongNaming"
version
=
"1.0.4.2"
/>
<
package
id
=
"NuGet.CommandLine"
version
=
"2.8.0"
/>
<
package
id
=
"NuGet.CommandLine"
version
=
"2.8.0"
/>
<
package
id
=
"Redis-64"
version
=
"2.8.4"
/>
<
package
id
=
"Redis-64"
version
=
"2.8.4"
/>
</
packages
>
</
packages
>
\ No newline at end of file
StackExchange.Redis.StrongName.nuspec
0 → 100644
View file @
1fd38473
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>
StackExchange.Redis.StrongName
</id>
<version>
1.0.312
</version>
<authors>
Stack Exchange inc., marc.gravell
</authors>
<owners>
Stack Exchange inc., marc.gravell
</owners>
<summary>
Redis client library
</summary>
<description>
High performance Redis client, incorporating both synchronous and asynchronous usage; the notional successor to BookSleeve
</description>
<tags>
Async Redis NoSQL Client Distributed Cache PubSub Messaging
</tags>
<language>
en-US
</language>
<projectUrl>
https://github.com/StackExchange/StackExchange.Redis
</projectUrl>
<licenseUrl>
https://raw.github.com/StackExchange/StackExchange.Redis/master/LICENSE
</licenseUrl>
<copyright>
Stack Exchange inc. 2014
</copyright>
<dependencies>
<group
targetFramework=
"net40"
>
<dependency
id=
"Microsoft.Bcl"
version=
"1.1.8"
/>
<dependency
id=
"Microsoft.Bcl.Async"
version=
"1.0.168"
/>
<dependency
id=
"Microsoft.Bcl.Build"
version=
"1.0.14"
/>
</group>
<group
targetFramework=
"net45"
>
</group>
</dependencies>
</metadata>
<files>
<file
src=
"StackExchange.Redis\bin\Release\StackExchange.Redis*.*"
target=
"lib\net45"
/>
<file
src=
"StackExchange.Redis_Net40\bin\Release\StackExchange.Redis*.*"
target=
"lib\net40"
/>
</files>
</package>
\ No newline at end of file
StackExchange.Redis.sln
View file @
1fd38473
Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
# Visual Studio 2013
VisualStudioVersion = 12.0.30
324
.0
VisualStudioVersion = 12.0.30
501
.0
MinimumVisualStudioVersion = 10.0.40219.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StackExchange.Redis", "StackExchange.Redis\StackExchange.Redis.csproj", "{7CEC07F2-8C03-4C42-B048-738B215824C1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StackExchange.Redis", "StackExchange.Redis\StackExchange.Redis.csproj", "{7CEC07F2-8C03-4C42-B048-738B215824C1}"
EndProject
EndProject
...
@@ -39,6 +39,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
...
@@ -39,6 +39,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
monobuild.cmd = monobuild.cmd
monobuild.cmd = monobuild.cmd
netbuild.cmd = netbuild.cmd
netbuild.cmd = netbuild.cmd
StackExchange.Redis.nuspec = StackExchange.Redis.nuspec
StackExchange.Redis.nuspec = StackExchange.Redis.nuspec
StackExchange.Redis.snk = StackExchange.Redis.snk
StackExchange.Redis.StrongName.nuspec = StackExchange.Redis.StrongName.nuspec
StrongName.ps1 = StrongName.ps1
EndProjectSection
EndProjectSection
EndProject
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConnectionWatcher", "ConnectionWatcher\ConnectionWatcher.csproj", "{6756F911-BD09-4226-B597-67871DEB8ED5}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConnectionWatcher", "ConnectionWatcher\ConnectionWatcher.csproj", "{6756F911-BD09-4226-B597-67871DEB8ED5}"
...
...
StackExchange.Redis.snk
0 → 100644
View file @
1fd38473
File added
StrongName.ps1
0 → 100644
View file @
1fd38473
$key
=
Import-StrongNameKeyPair -KeyFile StackExchange.Redis.snk
dir
StackExchange.Redis
*
/bin/Release/StackExchange.Redis.dll |
Set
-StrongName -KeyPair
$key
-Verbose -NoBackup -Force
nuget pack StackExchange.Redis.StrongName.nuspec
\ No newline at end of file
packages/Nivot.StrongNaming.1.0.4.2/readme.md
0 → 100644
View file @
1fd38473
Nivot.StrongNaming
==================
*
v1.0.4.1 (something fishy is going on with my package build process?)
*
v1.0.4 (fix missing mono.cecil)
*
v1.0.3.2 (fix package: second attempt; readme.txt auto-open)
*
v1.0.3.1 (fix package)
*
v1.0.3
[
2014/01/26
]
*
Assembly references without a strongname will be given a strong name using the same
public key token as the primary target assembly.
*
v1.0.2
[
2013/04/30
]
*
Added license and project URL.
*
Added readme.MD
*
v1.0.1
[
2013/04/29
]
*
Updated metadata.
*
v1.0.0
[
2013/04/29
]
*
Initial release.
Details
=======
All cmdlets accept pipeline input. The AssemblyFile parameter is aliased to PSPath, so it will
bind to piped files.
*
Test-StrongName
[
-AssemblyFile
]
<string
[]
>
[
<CommonParameters>
]
Returns true if an assembly has a strong name.
*
Import-StrongNameKeyPair
[
-KeyFile
]
<string>
[
<CommonParameters>
]
*
Import-StrongNameKeyPair
[
-KeyFile
]
<string>
-Password
<securestring>
[
<CommonParameters>
]
Imports a simple unprotected SNK or a password-protected PFX, returning a StrongNameKeyPair
instance for consumption by Set-StrongName. If your PFX file has a blank password, you must
provide a SecureString of the empty string "". SecureString instances are returned from
the Read-Host cmdlet with the -AsSecureString parameter.
*
Set-StrongName
[
-AssemblyFile
]
<string
[]
>
-KeyPair
<StrongNameKeyPair>
[
-NoBackup
]
[
-Passthru
]
[
-Force
]
[
-DelaySign
]
[
-WhatIf
]
[
-Confirm
]
[
<CommonParameters>
]
Assigns a strong name identity to an assembly.
The -KeyPair parameter accepts a System.Reflection.StrongNameKeyPair output from the
Import-StrongNameKeyPair cmdlet., which accepts either simple unprotected SNK files or
password-protected PFX files.
The -NoBackup switch directs the cmdlet to skip creating a .bak file alongside the newly
signed assembly.
The -Passthru switch will output a FileInfo representing the newly signed assembly to
the pipeline.
The -DelaySign switch will create a delay-signed assembly from a public key only SNK
(it can also create one if the SNK contains both private and public keys.) This is useful
if you can't get access to the full private key at your company. This will allow you to
compile against previously unsigned nuget packages at least.
The -Force switch will allow you to overwrite an existing strong name on an assembly.
NOTE: You may supply -WhatIf to see what _would_ be done, without actually doing it.
*
Get-AssemblyName
[
-AssemblyFile
]
<string
[]
>
[
<CommonParameters>
]
Returns a System.Reflection.AssemblyName instance from any assembly file.
FAQ: How Do I?
==============
# get the default package root folder
PM> $root = join-path (split-path $dte.solution.filename) packages
# load an unprotected snk
PM> $key = Import-StrongNameKeyPair -KeyFile .
\f
older
\k
ey.snk
PM> dir
*
.dll | Set-StrongName -KeyPair $key -Verbose
# load a password-protected PFX
PM> $key = Import-StrongNameKeyPair -KeyFile .
\f
older
\k
ey.pfx -Password (Read-Host -AsSecureString)
******
# sign some unsigned assemblies
PM> cd (join-path $root unsignedPackage)
PM> dir -rec
*
.dll | set-strongname -keypair $key -verbose
# (re)sign some assemblies forcefully
PM> dir -rec
*
.dll | set-strongname -keypair $key -force
# sign only unsigned assemblies
PM> dir -rec
*
.dll | where { -not (test-strongname $_) } | set-strongname -keypair $key -verbose
\ No newline at end of file
packages/Nivot.StrongNaming.1.0.4.2/tools/Mono.Cecil.dll
0 → 100644
View file @
1fd38473
File added
packages/Nivot.StrongNaming.1.0.4.2/tools/Nivot.PowerShell.StrongNaming.dll
0 → 100644
View file @
1fd38473
File added
packages/Nivot.StrongNaming.1.0.4.2/tools/StrongNaming.psd1
0 → 100644
View file @
1fd38473
B
#
B
#
packages/Nivot.StrongNaming.1.0.4.2/tools/init.ps1
0 → 100644
View file @
1fd38473
param
(
$installPath
,
$toolsPath
,
$package
)
import-module
(
join-path
$toolsPath
StrongNaming.psd1
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment