Questions tagged [assemblies]

Assemblies are collections of compiled .Net types and resources grouped into a logical and physical unit (in the form of a .dll file or .exe file).

Assemblies are collections of compiled .Net types and resources grouped into a logical and physical unit (in the form of a .dll file or a .exe file - which has an entry point).

If a .exe is a .NET assembly then it also contains a CLR header as a data block inside the PE header.

2372 questions
1
vote
2 answers

How to organize code using an optional assembly reference?

I am working on a project and want to optionally use an assembly if available. This assembly is only available on WS 2008 R2, and my ideal product whould be a common binary for both computers with and without the assembly. However, I'm primarily…
apoorv020
  • 5,420
  • 11
  • 40
  • 63
1
vote
1 answer

Build number increment not reflected in AssemblyVersion

I've browsed through some of the discussion on auto-incrementing build numbers, but in the impatience of youth decided to roll my own and re-invent the wheel. I know there are probably better ways to go about this (which I'm definitely going to…
awshepard
  • 2,627
  • 1
  • 19
  • 24
1
vote
4 answers

How to share a namespace between projects in .NET/C#/VS2008. Receiving error: "are you missing an assembly reference?"

What is the protocol to share a namespace between two projects when consequential projects will reference both of the namespaces? Obviously this is possible (System, mscorlib)... I've gotten different errors depending on the things I've tried. …
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
1
vote
1 answer

CREATE ASSEMBLY failed verification: Not enough storage is available to complete this operation

I have a small application that uses SQL Server 2005 Express with CLR stored procedures. It has been successfully installed and runs on many computers running XP and Vista. To create the assembly the following SQL is executed (names changed to…
1
vote
1 answer

Visual Studio (2008) - Which projects reference a particular assembly?

I have a solution with a decent number of projects (say, 30) and I want to find which of these projects reference a particular assembly. Here's a concrete example: In the Object Browser I can see that two different versions of the same assembly are…
1
vote
1 answer

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…
jlew
  • 10,491
  • 1
  • 35
  • 58
1
vote
1 answer

Problem with assembly loading in .NET

I have got two projects in my solution: Silverlight and standard one. The standard one references System.Xml assembly (version 4.0.0.0), however the Silverlight one references System.Xml assembly (v. 2.0.5.0). I want to make an instance of XmlWriter…
Jamie
  • 1,092
  • 3
  • 22
  • 44
1
vote
2 answers

dotPeek not showing all references

I'm looking at the System.Web.Http assembly in dotPeek and I can't see a reference to Newtonsoft.Json even though I know that System.Web.Http.Results.JsonResult uses Newtonsoft.Json as it's serializer unlike it's System.Web.Mvc cousin. using…
rism
  • 11,932
  • 16
  • 76
  • 116
1
vote
1 answer

Integrating two solutions in .Net

There's one solution which is an upgraded version from VB to .Net. It's a huge project with myriad of library references to third party softwares. The other is built purely on .Net reflection(parallel framework code for concurrency and key certs for…
aspiring
  • 1,557
  • 2
  • 20
  • 43
1
vote
4 answers

remove GAC assembly using vbscript

Like the title says, how can I remove GAC assembly file using vbscript?
John
1
vote
1 answer

Stuck with "Cannot find type" error using CreateInstance()

I am trying to use .CreateInstance() in a connection utility in a C# project, while serializing XML. .Unwrap() is used to unwrap the serializable return type and get an instance of the type I'm trying to create. String fileToLoad =…
HavelTheGreat
  • 3,299
  • 2
  • 15
  • 34
1
vote
2 answers

ILMerge: Combining assemblies in one exe, App.Config

I am using ILMerge to combine .ddls in one executable, however when I run the Output.exe, it seems not to be finding the App.Config file. It is returning an error of: InvalidOperationException: No connection string name could be found in application…
t_plusplus
  • 4,079
  • 5
  • 45
  • 60
1
vote
1 answer

Is it possible to reference DLLs from parent folders in .NET?

We have the following situation/requirements: We have multiple projects which use the same DLLs (which we developed). Different projects shall be able to use different versions of those DLLs The applications within one project shall all use the…
Tim Meyer
  • 12,210
  • 8
  • 64
  • 97
1
vote
0 answers

What are some performance considerations when loading lots of assemblies?

While working with a .NET application which references a large number of libraries (some third party, some not), several questions came up regarding performance and the use of libraries in .NET applications. Considerations When referencing a large…
Brian Gradin
  • 2,165
  • 1
  • 21
  • 42
1
vote
0 answers

Xamarin Fails to Resolve Path to Dependent Project Correctly

When trying to build a solution developed in VS2010, I get the following error in one of the subprojects that depends on a DLL built by another project in the solution, though it seems to have all the project references correctly interpreted by…
Eternal Rubyist
  • 3,445
  • 4
  • 34
  • 51
1 2 3
99
100