Questions tagged [delay-sign]

11 questions
26
votes
1 answer

What exactly are Delay signing and strong names in .net?

I have seen in many article it is written that Delay signing and strong name for an assembly prevents it from hi-jacked. What does that mean? The only thing that i know is without a strong name you can not install an assembly in GAC. So suppose i…
Deviprasad Das
  • 4,203
  • 7
  • 36
  • 51
19
votes
1 answer

Team Foundation Server Build with password protected codesigning fails

I'm trying to setup a continuous integration build on TFS 2008. In the project I want to build I use a key for signing. This key uses a password. I can't get it to build, because during the build TFS wants to show a dialog which can't be shown. I…
Sorskoot
  • 10,190
  • 6
  • 55
  • 98
15
votes
1 answer

Run Powershell or Command Prompt as administrator during Visual Studio Team Services build

I am working on a project where we are delay signing the assemblies. I need to use the strong name tool a couple times during the build, to turn off strong name verification, and then to fully sign the assemblies before they are packaged. I…
Edward Rixon
  • 1,199
  • 1
  • 17
  • 31
8
votes
2 answers

Remove signing from an assembly

I have a project open in Visual Studio (it happens to be Enyim.Caching). This assembly wants to be delay-signed. In fact, it desires so strongly to be delay-signed, that I am unable to force Visual studio to compile it without delay signing. I have…
theMayer
  • 15,456
  • 7
  • 58
  • 90
5
votes
1 answer

What windows SDK parts are needed to run sn.exe

I want to run sn.exe in order to be able to run a delayed signed project in a server. If I install the whole windows SDK everything runs smoothly, but which exact part of SDK is needed? I am asking since the whole downloading is 460Mb and probably…
andreadi
  • 1,953
  • 1
  • 20
  • 35
2
votes
3 answers

Why do I receive the warning "The SDK for the 'net-2.0' framework is not available or not configured." when running a delay-sign task in NAnt?

I'm using NAnt 0.85 as a build script. Part of the script is to complete the signing process of delay-signed assemblies using the delay-sign task. When the script is executed on the build server, it runs without any problems. When I run the same…
Paul Turner
  • 38,949
  • 15
  • 102
  • 166
2
votes
0 answers

Do I need reference to mscoree.dll assembly?

I have found this nice article while trying to find Delay signed assembly programmatically. But, the program in the above link is using StrongNameSignatureVerificationEx class which is available in mscoree.dll assembly, I guess. But, I couldn't find…
Ashok kumar
  • 1,593
  • 4
  • 33
  • 68
1
vote
2 answers

How do I strong name an assembly that is shared by several developers?

My colleagues and I have a C# project must be registered with COM using either regasm.exe or RegistrationServices for Excel interop. As a result, the assembly must be signed with a strong name key. A key file was generated through Visual Studio…
Frank
  • 3,029
  • 5
  • 34
  • 43
1
vote
1 answer

Delay signing during development and not on the build server

I've got a few projects that are configured for delay signing on development machines, and I want to configure the build server so that it doesn't delay sign release builds. How can I do this? I'm using VSTS/TFS. The question is different, but…
user1228
0
votes
0 answers

Can .NET assemblies signed with PublicSign be later real-signed?

Can the new PublicSign C# compiler option be used instead of DelaySign? Will it like DelaySign allow later to real sign/Authenticode-sign the assembly? Are there scenarios where you must revert to DelaySign and can't use PublicSign? I found one…
Kirill Osenkov
  • 8,786
  • 2
  • 33
  • 37
0
votes
2 answers

Delay sign with clickonce

I have a ClickOnce application that relies on delay signed (with .pfx) assemblies. I currently rely on the Publish target of my project to create my ClickOnce deployment and would like to keep it that way if possible (avoid mage). My problem is that…
Benoit Dion
  • 163
  • 1
  • 2
  • 9