assemblies

Where to get and how to install (or migrate) missing assemblies for ASP.NET server?

I am migrating web apps to new hosting servers, but when I try to access them to test on the new server, I get all these assemblies not found errors like: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and m...

How to work with an interface dynamically loaded from an assembly and invoke its members

I have got some code to load an assembly and get all types, which implement a certain interface, like this (assume asm is a valid and loaded assembly). var results = from type in asm.GetTypes() where typeof(IServiceJob).IsAssignableFrom(type) select type; Now I'm stuck: I need to create instances of these objects and invoke method...

ASP.NET hostingEnvironment / shadowCopyBinAssemblies

Today I stumpled upon the shadowCopyBinAssemblies option in the hostingEnvironment tag. Appearently this attribute it is a web.config (system.web) configuration Boolean option indicating whether the assemblies of an application in the Bin directory are shadow copied to the application's ASP.NET Temporary Files directory. <hostingEnviro...

<assemblyBinding> ignored in parent web.config

Hi, I have a folder containing several websites, all using the same assemblies in the GAC. Each website also contains some 'custom' assemblies of their own that refer to the common assemblies. There is a web.config in this folder, defining common settings for the sites, including the assemblies to load in a <system.web>/<compilation>/<...

Strange Error - CS0012: The type x is defined in an assembly that is not referenced.

The type 'x' is defined in an assembly that is not referenced. You must add a reference to assembly 'abc123'. I have a .NET 2.0 web application that references my assembly 'abc123'. The assembly exists in the GAC and I've verified that it is the correct(same) version. The rest of application has no issues except for one .aspx page. T...

remove GAC assembly using vbscript

Hi, Like the title says, how can I remove GAC assembly file using vbscript? Any help will be appreciated, Thanks, John, ...

Windows Forms Error: "A strongly-named assembly is required"

I have a Windows forms project (VS 2005, .net 2.0). The solution has references to 9 projects. Everything works and compiles fine on one of my computers. When I move it to a second computer, 8 out of the 9 project compile with no problem. When I try to compile the 9th project (the main project for the application - produces the .exe file...

Using versioned .Net assemblies

In our processing software we are moving from one version of an external assembly to a newer version. While the overall task that the assembly performs are the same, the API is radically different and no backwards compatibility have been maintained. The API is responsible for extracting data from external stations which may be running wi...

Visual Studio Installer does not include satellite resource assembly

I have a VS2008 installer project which installs a .NET Windows Service. One of the service's dependencies is a .NET assembly which has localized resources in the form of a satellite assembly. The installer is not packaging or installing the satellite assembly for some reason and the service will consequently not start. Any ideas? ...

UDA Permissioning with SQL Server 2005 - SP2

When I try to execute grant permissions on an Assembly for users I get the following message: Incorrect syntax near 'EXECUTE...'. This problem has only come about with SP2, MS took away the ability to grant execute permission on UDA's. The loop whole is that they didn't take grant execute permissions away on the database that the UD...

assembly not loading for asp.net web application

I have a web application which references an external .dll (lets call this productA.dll) I have updated my GAC, my web.config, and my references, checked the versions and everything looks consistent. However, when I run my application, methods that I use from productA.dll cannot be called, and I get a "the specified module cannot be fo...

Difference between Root Namespace and Assembly Name

What's the difference between the two..?? ...

Changing an assembly's manifest without re-building

In .NET, is there a tool or some other method which would allow us to modify an assembly's manifest, without having to modify the AssemblyInfo and re-build the assembly? Thanks ...

Asp.net DLL hell

I have a 3rd party workflow software (Captaris Teamplate) that's referencing an assembly from my project that's referencing other assemblies from our project solution all through GAC. When our app executes it invokes Captaris Teamplate method to create a workflow process which in turn uses project assemblies in GAC to store data into a ...

How to fix "Referenced assembly does not have a strong name" error (VS2005)

I've added a weakly named assembly to my VS2005 project (which is strongly named). I'm now getting the error: "Referenced assembly 'xxxxxxxx' does not have a strong name" Do I need to sign this 3rd party assembly? Thanks in advance Nick ...

Check to see if Visual Studio can load an assembly

I have some user controls that are going to get added into SharePoint through SmartPart. I'm testing on my local machine, but I'm planning on using the SharePoint security. I was wondering if there was a way I could to a quick test to see if the Microsoft.SharePoint assembly can actually get loaded so I can continue to test on my machi...

Does .NET assembly size affect performance?

Hi, Does the size of a .net assembly affect performance at all? How about the number of assemblies in your windows forms/web forms project? ...

What tools are available to determine which .NET assemblies have changed since the last build?

With a seriously big .NET site/solution (100's of assemblies), are there any tools available to recognise which assemblies have changed since the last build (using something more intelligent than file dates that will always change). I need to change our deployment process to a) increment the version of changed assemblies and b) generate...

DSL Tools: How to create the DLL as weak-named

Hello, I have a DSL Tools solution. I need to add a weak-named reference to this project. Because the DSL Tools project DLL is strong-named i cannot used the weak-named DLL. I cannot make the DLL strong-named because i cannot recompile it. I tried to make my DSL Tools project DLL weak-named by going to the Dsl and DslPackage project ...

How to get .NET version (1.1, 2.0, 3.0 etc.) under which an Assembly was built?

I have an assembly. Is there a way to detect which version of .NET was used to build that assembly? ...