assemblies

What devlopment tool shipped with MSVCR80.DLL 8.0.50608.0?

I have a number of DLLs from a 3rd party company and most of them reference MSVCR80.DLL 8.0.5068.0 in their manifests. I installed VS.NET 2005 with no service packs and no OS updates and it installs MSVCR80.DLL 8.0.50727.42. So which version of VS.NET (or possibly another tool) was used to build these DLLs? My real problem is that I w...

How to get all types in a referenced assembly?

For whatever reason, I can't seem to get the list of types in a referenced assembly. Not only that, I can't even seem to be able to get to this referenced assembly. I tried AppDomain.CurrentDomain.GetAssemblies(), but it only returns assemblies that have already been loaded into memory. I tried Assembly.GetExecutingAssembly().GetRefer...

assemblies required for silverlight charts

i want the assemblies (*.dll) files for silverlight charting controls or give me path that where does it stoer when we install the toolkit in our computer ...

Loading an assembly from any version

I'm referencing a signed assembly. In runtime it is ok for me to work with any version of that assembly, not just the one I compiled to. How to achieve this? ...

Does Assembly.Load also load its references ?

Assembly assembly = Assembly.Load("MyAssembly"); Will the above also load all the references/dependencies "MyAssembly" needs ? ...

Referencing Assemblies Outside GAC Without Fixing the Path

Hi there, I'm currently in the process of researching the best development and deployment practices for our team. We have a load of similar code that we're going to start importing into a library of shared assemblies for use across our suite of (web & win) applications. I'm starting to get a clear idea of where I think we should be he...

Add assembly reference to Web Service

How do I configure a web service put in a IIS folder to reference a DLL that is not in the GAC? ...

What are the `exact` differences between .NET dll and a normal dll?

I want to know What are the exact differences between .NET dll and a normal dll. First question, what is "normal DLL" called? I'm using the word 'normal'. But it doesnt seem right? Because both follow the PE format. Yeah, I agree that .NET DLL has an extra section. Other than that every thing else is same. I also know that in .NET ...

.NET Assembly Dependencies

Perhaps I am missing something obvious here but... I have built a reusable generic C# class library project say (A.dll) which references 3 other assemblies say (B.dll, C.dll and D.dll) However if I want to reuse my component A.dll in another project I still have to include the references to B.dll, C.dll and D.dll. Is there any way you...

.NET: Should executables be strong-name signed? What about private DLLs?

My application consists of three assemblies: a single EXE which references a couple of DLLs. The DLLs are private to my application - they are used only by this executable. Should these assemblies be given a strong name? FxCop suggests that they should - for all of the assemblies it currently produces: CA2210: Sign <assembly> with ...

Avoid signed assembly network access

I'm using a .net assembly that was digitally signed (using comodo), and I noticed that the first time my application loads the assembly it connects to 'ocsp.usertrust.com' and 'crl.comodoca.com'. Is there a way to avoid these connections? ...

Loading a generic type by name when the generics arguments come from multiple assemblies

I need to create a type from its full name only Ex: "System.String" or "Tuple'2[string,Mytype]". there is no information about the assembly in the string. Here is what the code look like. private static Type LoadType(string typeName) { // try loading the type Type type = Type.GetType(typeName, false); if (type != null) ...

C#: How to load assembly from GAC?

I have "mycomp.myassembly.dll" in GAC but Load and LoadFrom throws file not found exception and LoadWithPartialName returns null. I'm doing the following: AssemblyName name = new AssemblyName(); name.Name = "mycomp.myassembly.dll"; Assembly assembly = Assembly.Load(name); fails with FileNotFound for mycomp.myassembly.dll ...

.Net Are there potential problems when two versions of the same assembly are loaded in one AppDomain?

Hi, We've come up with a strategy to handle backward compatibility when there is a breaking change between two versions. We load the previous version assemblies in the current AppDomain, deserialize some data with the old version types and then convert these into their equivalent in the new version. Are there any pitfalls with this ap...

Problem with path to images when launching .NET application using WSHShell

I am launching a VB.NET (2.0) application using WSHShell from a startup VBS script. This application has 2 images located in an /Images folder in the VB.NET project with a 'Build Action' of 'Content'. When the application runs it does some checking and then tries to show one of the 2 possible images as follows: imgStatus.Image = Image....

Two different assembly versions "The located assembly's manifest definition does not match the assembly reference"

I have a project that I am working on that requires the use of the Mysql Connector for NHibernate, (Mysql.Data.dll). I also want to reference another project (Migrator.NET) in the same project. The problem is even though Migrator.NET is built with the reference to MySql.Data with specific version = false, it still tries to reference the ...

Redirect assemblies in Mono?

Hello, I have recently discovered that I am affected by this bug http://www.mail-archive.com/[email protected]/msg71515.html Well, at http://www.mail-archive.com/[email protected]/msg71529.html they say the work around is to create a global policy assembly and redirect the assemblies that way since it is not read from ...

Self updating application question

I've been looking at a simple machanism for self-updating executable files. (I can't use Click-Once due to the nature of the application - trust me on this) I've noticed that an in-flight assembly can move itself to another location on disk, presumably because the executing assembly is actually an in-memory copy), and that the original...

Getting runtime version of a Silverlight assembly

I want to show my Silverlight 3 application's version number in the about box, but when I use a traditional .Net call like: Assembly.GetExecutingAssembly().GetName().Version; I get a MethodAccessException on the GetName() call. How am I supposed to get the version number of my assembly? ...

Detecting loading of class library

Is there a way for class library to detect when it's loaded, in order to perform some initialization? I've tried adding Program.cs with static Main method, which didn't help. I tried setting Startup object in project properties, but only (None) is available. I know Win32 libraries have entry points, do .NET class libraries have them? ...