assemblies Questions

11

Solved

My projects are set up like this: Project "Definition" Project "Implementation" Project "Consumer" Project "Consumer" references both "Definition" and "Implementation", but does not statically ...
Rodolphe asked 5/3, 2010 at 4:40

2

Solved

In my code, I want to check if a specific assembly is loaded. I have this code: var assembly = AppDomain.CurrentDomain .GetAssemblies() .Where(a => a.FullName.StartsWith("Microsoft.Window...
Iambus asked 15/2, 2013 at 15:35

8

Solved

Consider i have an assembly(class library dll) which i have loaded using the following code, Assembly a = Assembly.LoadFrom(@"C:\Documents and Settings\E454935\My Documents\Visual Studio 2005\Pro...
Bayonet asked 17/3, 2009 at 5:53

7

I am suddenly getting an exception when trying to build the project. Seems to have something todo with Mono.Cecil. But I am not using Mono in my project. Fehler 13 Fody: An unhandled exception o...
Babar asked 1/9, 2015 at 13:52

10

Solved

Could you please explain what is an Assembly in C# or .NET? Where does it begin and where does it end? What important information should I know about Assemblies?
Aggarwal asked 1/9, 2009 at 12:34

11

Solved

I've seen this: VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515) and none of the answers work. It also doesn't appear when I build or anything. I can ru...
Apices asked 15/12, 2011 at 17:48

19

I'm trying to set up an assembly binding redirect, using the following app.config: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dep...
Outguard asked 16/8, 2010 at 3:5

4

I know that this is a question that has been discussed before but I have a situation that I don't understand. I have the following projects Project A Project B NuGet Package "log4net" N...
Tulley asked 24/6, 2013 at 17:3

8

Solved

I am stuck with one asp.net error. My application work fine on development and test environemnt. But on production it give me following error: Could not load file or assembly 'someProject' or on...
Postdoctoral asked 30/4, 2009 at 21:18

10

Solved

Is there a Microsoft tool to get the assembly version of a DLL file from a command line? (I know that I can code my own tool.)
Castiron asked 14/6, 2010 at 12:0

4

Solved

I have the following method that should retrieve a list of loaded local (in bin folder) assemblies: static IEnumerable<Assembly> GetLocalAssemblies() { Assembly callingAssembly = Assembly....
Raguelragweed asked 23/4, 2012 at 16:56

6

Solved

In AssemblyInfo there are two assembly versions: AssemblyVersion: Specify the version of the assembly being attributed. AssemblyFileVersion: Instructs a compiler to use a specific version number f...
Sperrylite asked 26/5, 2009 at 8:19

3

Solved

In .Net, I would like to enumerate all loaded assemblies over all AppDomains. Doing it for my program's AppDomain is easy enough AppDomain.CurrentDomain.GetAssemblies(). Do I need to somehow access...
Lisa asked 19/1, 2009 at 17:10

8

Original title: How can I prevent loading a native dll from a .NET app? Background: My C# application includes a plugin framework and generic plugin loader. The plugin loader enumerates the appl...
Elburr asked 15/12, 2008 at 8:22

5

I have a web site project that I run from Visual Studio using the built in development web server. The virtual path of the web site is set to / The web.config contains a runtime element with &lt...
Grassquit asked 9/10, 2009 at 11:0

3

Solved

Related to this question is, how does the generation of the AssemblyInfo work? I have been putting InternalsVisibleTo in the file of the first class of an assembly where I realize that it will be ...
Ineligible asked 20/11, 2010 at 17:39

2

When applying a binding redirect in the app.config of the test project. The runtime refuses to obey the redirect command and keeps searching for the old version of the assembly <runtime> &l...
Wershba asked 28/7, 2010 at 17:26

14

How do I enable assembly bind failure logging (Fusion) in .NET?
Makepeace asked 1/11, 2008 at 8:58

13

When I try to run a simple program to access oracle I am getting this message Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.20, Culture=neutral, PublicKeyToken=89b483f429c...
Kg asked 23/12, 2009 at 16:8

2

I am getting the following MSB3644 complication error: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack fo...

5

Solved

I get a 404 HTTP status error (not found) on a specific WebResource.axd call inside an ASP.NET 3.5 (AJAX) web application. I guess the error is thrown because a specific referenced assembly is miss...
Ashtray asked 12/1, 2009 at 12:42

2

What is the best way to list all available .NET 2.0 assemblies? An example of the list needed is the one MS Visual Studio shows when you do 'Add Reference...' in the .NET tab. I have read Visual ...
Congratulatory asked 30/1, 2009 at 11:38

4

My Windows service needs to create/remove certain rules from the Windows firewall. For this I interface with NetFwTypeLib in <windows>\system32\hnetcfg.dll via COM. It works great on my 64-bi...

1

I have the latest Visual Studio Community version 2019. I have been following this awesome free series by Bob Tabor. Sorry about the link to images, but rules are rules I guess, can't add ima...
Skiing asked 19/4, 2020 at 20:36

6

Solved

In the build process for a .NET C# tool, I have been using ILMerge to merge the assemblies into a single exe. I added a new class library recently, and now the ILMerge is failing. I have remember...
Antimagnetic asked 27/11, 2009 at 9:27

© 2022 - 2024 — McMap. All rights reserved.