Questions tagged [assembly-resolution]

229 questions
2
votes
2 answers

Loading Assemblies

There are plenty of discussing that shows how to load assemblies from BIN and from GAC... my question is more general and I would love to know how assembly loading work. As for example in the BIN folder we can have A.dll A.dll.config A.dll.config…
balexandre
  • 73,608
  • 45
  • 233
  • 342
2
votes
0 answers

Referenced assembly, formerly unsigned, now signed, cannot be loaded by application

After signing and recompiling a referenced assembly (MyAssembly.dll), my web application fails with "The located assembly's manifest definition with name MyReferencedAssembly does not match the assembly reference". This is what I expected, since…
manudea
  • 371
  • 2
  • 15
2
votes
2 answers

Reference assembly located on Network Share in ASP.Net

Where I'm at we have a large number of programs that can run that all use features from a set of assemblies located on a network share: things like writing to a common systems log, DB connection strings, some common business objects and functions,…
Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
2
votes
1 answer

Why doesn't Powershell see that it already loaded this assembly?

This is a really long one, so hang tight. The idea is that an application, when referenced to Core.dll (see below), will create a new object of type Core, and in doing so, the constructor will scan the C:\Problems folder for any DLLs which contain…
Philippe Signoret
  • 13,299
  • 1
  • 40
  • 58
2
votes
1 answer

C# Can't Deserialize DataTable

I have a client/server project and I'm trying to send via socket a DataTable(extracted from a TableAdapter) from server to client. My server namespace is srvCentral and my client is appClient. When I try to deserialize DataTable in client it throws…
2
votes
1 answer

Problems loading assemblies into a new AppDomain for static class/method invocation

I've been having some major problems with executing .NET assemblies via C#. I want to invoke a static method (Main), from a static class. I had it working in the current domain, but apparently I can't unload the assemblies from there. Firstly, I…
mina
  • 439
  • 2
  • 7
  • 13
1
vote
3 answers

Validate assemblies and namespaces in VAB config file

We are using version 4.1 of the validation application block. I am relatively new to it so I was wondering if it had the ability to either abstract out the configured namespaces and assemblies or otherwise provide proper validation of their…
1
vote
2 answers

Configuring Custom Assembly resolution for assemblies dependent on a class library

OK, here is the setup: A VB6 .exe that consumes some .Net classes. The classes reside in 5 .dll's but are exposed through one COM visible wrapper .dll Using an application manifest I can store the COM visible MyCOMVisibleWrapper.dll (and .tlb)…
Dabblernl
  • 15,831
  • 18
  • 96
  • 148
1
vote
1 answer

ODP.Net 1.1 client doesnot work on machine with oracle 11g

I have created an application that uses Oracle.Dataaccess library version 1.10. When I deploy the application on a machine that has 11g client i.e. Oracle.Dataaccess library 2.0 then this does not work. I get a message "Cannot find library…
1
vote
2 answers

CefSharp.offscreen in LinqPad

LinqPad is my goto REPL and there isn't much I throw at it that it cant handle. However I cannot for the life of me get CefSharp (specifically OffScreen) to run. I'm constantly met with either of the below errors Could not load file or assembly…
OrdinaryOrange
  • 2,420
  • 1
  • 16
  • 25
1
vote
1 answer

.NET assembly binding

I have an api, MyApi, which is consumed by an application, MyApplication. MyApi has several dlls targeted to the .NET 4.0 Client Profile. For example: MyApi.Core MyApi.Domain MyApi.Providers (and some more) For deployment simplicity, these are…
Jeff
  • 35,755
  • 15
  • 108
  • 220
1
vote
2 answers

How to create a maven assembly with transitive dependencies for different deployment scenarios?

I'm having a problem reconciling building a project for use within an application server and for use as a stand-alone application. To give an overall simplified context, say I have three Projects A, B, C. Project A depends on Project B which depends…
1
vote
3 answers

How can I launch a program from memory in C#?

I have some UI application that lives in the user's task bar that is written in C#. The EXE for the tool is checked in to our source control system on a number of projects that use it so we are able to update the version they run with by checking in…
Anton
  • 6,860
  • 12
  • 30
  • 26
1
vote
0 answers

Why does adding a TelemetryInitializer cause intermittent ArrayTypeMismatchException?

Short version When I add my TelemetryInitializer to my TelemetryConfiguration I sometimes get an ArrayTypeMismatchException. What can I do to make sure I can always add my TelemetryInitializer? Long version I have a big WPF application that uses an…
Johan Gov
  • 1,262
  • 1
  • 13
  • 26
1
vote
2 answers

MEF assembly loading declarations

In Prism, I have the ability to declare from my dynamically loaded assembly how I expect the loading assembly to initialize me and when. That is, I could place the following class attribute: [ModuleExport(typeof(MyModule), InitializationMode =…
pinvoke
  • 331
  • 1
  • 3
  • 10