Questions tagged [assembly-resolution]

229 questions
0
votes
1 answer

Troubleshooting: Can't find a referenced unmanaged dll when invoking custom code via a Word code-behind

Context: I have a WPF App that uses certain unmanaged DLLs in the D:\WordAutomation\MyApp_Source\Executables\MyApp folder. I can double click the exe and everything runs. Next I have a Word 2007 code-behind project, that references relevant…
Gishu
  • 134,492
  • 47
  • 225
  • 308
0
votes
0 answers

.NET AssemblyResolve - Dynamically Loading New .dll Version

I have many .NET WinForm applications that use a particular .dll assembly. The company that puts out this particular product occasionally releases a new version. Since they offer strong-name assemblies, I need to download the new version of their…
clamum
  • 1,237
  • 10
  • 18
0
votes
1 answer

.NET 2.0 issue with assembly not found

i have to fight against a strange issue in my company. we have 2 .net 2.0 (old, i know) apps, which start with an .asmx-file. the code-behind calls a c#-file, which includes a include abcd directive, whereby abcd originates from a 3rd-party company.…
Joey
  • 511
  • 6
  • 20
0
votes
2 answers

Get assembly of code that instantiated object (with inheritance)

I have an abstract class that will need to be able to load files contained in the assembly that made an object of the class. What I could use is FileAssembly = Assembly.GetCallingAssembly() for every child of my class, but since it is a library that…
Villermen
  • 815
  • 2
  • 13
  • 28
0
votes
1 answer

Bug in MVC2 means I need to compile the source, but nothing works with the compiled assembly

There seems to be an issue around generating IDs with indexers within the MVC Framework (as detailed here http://aspnet.codeplex.com/WorkItem/View.aspx?WorkItemId=5495). To fix this, I've downloaded the source, modified it and tried using it - but…
Kieron
  • 26,748
  • 16
  • 78
  • 122
0
votes
1 answer

How to correctly load 32-bit DLL dependencies when running a program from a batch file

I have written a tool that references Microsoft.TeamFoundation.VersionControl.Client.dll, which is a 32-bit DLL. When I build my tool on 64-bit Windows, I set Visual Studio to specifically target X86 in order to force it to a 32-bit…
Neil
  • 7,227
  • 5
  • 42
  • 43
0
votes
2 answers

Load an assembly from another location not in the GAC

I have several applications which are required to use the same assembly. This assembly may be changed regularly, and can be installed by different MSIs. For this reason, I do not want to put it in the GAC, it can become a deployment nightmare over…
user1173240
  • 1,455
  • 2
  • 23
  • 50
0
votes
2 answers

Handling Types Defined in Plug-ins That Are No Longer Available

I am developing a .NET framework application that allows users to maintain and save "projects". A project can consist of components whose types are defined in the assemblies of the framework itself and/or in third-party assemblies that will be made…
Chris
  • 91
  • 3
0
votes
2 answers

.NET assembly loading problem

I'm maintaining the build process for our application which consist of an ASP.Net application, two different Win32 services and other sysadmin related applications. I want to end up with the following configuration to be used both when debugging &…
Simon
0
votes
1 answer

assembly illegal instruction ".model small"

my code : .MODEL SMALL .CODE ORG 100H Label1 : JMP Label2 +---------------------+ | TEMPAT DATA PROGRAM | +---------------------+ Label2 : +---------------------+ | TEMPAT PROGRAM | +---------------------+ INT 20H END Label1 but I get…
Samuel Ricky
  • 69
  • 1
  • 2
  • 10
0
votes
1 answer

Assembly un-identified loading behavior

I'm developing an asp.net website (solution type is website), and there is an assembly X. The odd behavior here is that Visual Studio is not picking the version from the Bin folder, but another assembly with the same name but higher version from…
sarepta
  • 348
  • 1
  • 3
  • 11
0
votes
0 answers

Loading assembly into Reflection-Only context with a partial name

I have a partial assembly name, e.g., "PresentationUI". How can I resolve and load this partial assembly name into the reflection-only context. // THIS GETS AN EXCEPTION Assembly.ReflectionOnlyLoad("PresentationUI"); // THIS GETS AN EXCEPTION…
Michael Gunter
  • 12,528
  • 1
  • 24
  • 58
0
votes
2 answers

NHibernate 2nd level cache provider for NHibernate 2.1.1.4000

I am using s#arp which is built against NHibernate 2.1.1.4000, However I would like to use NHibernate.Caches.SysCache as my second level cache. However the Nhibernate contrib caches are built against NHibernate 2.1.2.4000 which obviously gives me a…
Rippo
  • 22,117
  • 14
  • 78
  • 117
0
votes
1 answer

Why won't the runtime resolve my assembly dependency automatically?

I have some c++ code that is a snap-in for a MMC based application. This snap in uses a .net 2.0 dll via a COM wrapper (AssemblyA). AssemblyA lives in the same directory as the app that launches the MMC session. AssemblyA uses some other .net dlls…
Sam Holder
  • 32,535
  • 13
  • 101
  • 181
0
votes
2 answers

DLL Dependancies

I have an C# library file that uses a web-service reference in it. I have referenced Microsoft SOAP type library v3.0 and use Visual studio 2008. When I create a set up project, I get an error that says mssoap30.dll and msxml4.dll have dependancies…
Sandy
  • 237
  • 3
  • 14