Questions tagged [signed-assembly]

10 questions
14
votes
7 answers

Why are signed assemblies slow to load?

I encountered a strange problem this week that I can't explain: I switched my application to use the signed version of some third party assemblies (Xceed Grid and some of their other components) and the application start time went into the toilet. …
Mike Post
  • 6,355
  • 3
  • 38
  • 48
9
votes
2 answers

LinqPad access to internals of signed assemblies

Is there a signed version of LinqPad that I could use in order to access internals of signed assemblies?
Joao Silva
  • 876
  • 2
  • 8
  • 18
6
votes
3 answers

c# - can you make a "weak" assembly reference to a strong named assembly

For various reasons i would rather not use strong named (signed) assemblies in my project. however, one of the projects is referenced by a sharepoint web part which means it must be signed. is it possible to have this assembly signed but when I…
Tim
  • 61
  • 1
  • 2
4
votes
1 answer

InternalsVisibleTo, Signing and Unit tests, how to make it practical?

In "C# in Depth 2nd Edition", Jon Skeet's book - which I've just read until end of part 2 -, it is mentioned in 7.7.3 that InternalsVisibleTo can also be used with signed assemblies. At the moment I did not use signatures at all. The security issue…
jdehaan
  • 19,700
  • 6
  • 57
  • 97
3
votes
3 answers

Is it possible for a website project to reference a signed assembly in visual studio?

I'm aware of the following two different types of web projects in Visual Studio 2008: Website project Web application project A web application project can reference a signed assembly as long as the web application's assembly is also signed with…
2
votes
1 answer

Create a signed copy of my assembly on the fly

I need to make a signed copy of my assembly on the fly. I've tried to do so by adding this script in the post-build event: call "$(DevEnvDir)..\Tools\vsvars32.bat" ildasm /all /out=MyAssemblySignedVersion.il $(TargetFileName) ilasm /dll…
Shani
  • 99
  • 6
1
vote
1 answer

Signed assembly dependency that references a COM DLL must have the dependency's generated interop assembly referenced

Sorry about the terrible title. I have a signed assembly 'Signed.dll' that is a dependency of another assembly, say Executable.exe. Signed.dll references a COM DLL and publically exposes one of this COM DLL's types: 'ComPublicT.' Executable.exe must…
Cat Zimmermann
  • 1,422
  • 2
  • 21
  • 38
0
votes
1 answer

Is there a way to have assemblyBinding->bindingRedirect allow several target versions?

I am in signed .NET assembly hell. I have an application compiled against signed Assembly A, version 1.1 (SA 1.1.1) . On some systems I already have SA 1.1.2 Is it possible to express this in the redirect? SA 1.1.1 binds to SA 1.1.1 OR SA 1.1.2 Just…
flq
  • 22,247
  • 8
  • 55
  • 77
0
votes
1 answer

What information of a certificate used to sign an application is stored in the application?

I need to know if the information contained in the certificate used to sign a .Net application is stored somewhere in the binary file. We need this information to decide if we should buy a trusted certificate from Verisign or alike or if it is the…
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207
0
votes
1 answer

Box.V2 SDK deployment issue: Could not load file or assembly 'Nito.AsyncEx...' or one of its dependencies. A strongly-named assembly is required.

We've got the WCF project targeting .Net 4.0 under VS 2010 Win7 x64, please note that it is a signed assembly. The Box.V2 SDK has been installed through NuGet and the version we are using is 1.0.5. The bad things started to happen once we tried to…
Rodion Sychev
  • 676
  • 9
  • 13