Questions tagged [assembly-resolution]

229 questions
0
votes
1 answer

Tap Detection data conversion for ADXL345 sensor

I am interfacing ADXL345 sensor by using the datasheet as well as other libraries I am able to under stand the setup of TAP threshold. I need to confirm that in example code : // Set values for what is considered a TAP and what is a DOUBLE TAP (0- …
0
votes
1 answer

msbuild reference assemblies resolve order while building solution with multiple .csproj in visual studio

I have a solution with multiple projects and these projects have nuget packages installed which are different in version. Looks when solution is rebuild, the version of dll copied to output directory is not deterministic and often I end up with…
rahulaga-msft
  • 3,964
  • 6
  • 26
  • 44
0
votes
1 answer

Assembly redirect being ignored in machine.config. In web.config works

I have two versions of a dll. I am seeing a unexpected behaviour. When I add the assembly redirect to web.config it works , but when it is added at machine.config I get some errors inside my app caused by the loading of old version of the library. I…
0
votes
4 answers

Assembly loading error in my ASP.NET app, and the assembly isn't even referenced anymore

I had some code that referenced the Noesis.Javascript assembly (http://javascriptdotnet.codeplex.com) and had renamed the Noesis.Javascript.dll to Noesis.Javascript.0.4.dll. I referenced this file through Visual Studio, and when I launched my web…
Chris Farmer
  • 24,974
  • 34
  • 121
  • 164
0
votes
1 answer

Why is Combres still looking for an older version of System.Web.Mvc?

I'm using Combres with my MVC 3 RC project and getting an an assembly binding error when I deploy it to my web server. System.IO.FileLoadException Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral,…
Brant Bobby
  • 14,956
  • 14
  • 78
  • 115
0
votes
1 answer

.net runtime tries to use the wrong version of an assembly

I have an application which references the assembly "Microsoft.Xna.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d". I have created an installer project that installs this assembly in the GAC (by running the XNA redist…
erikkallen
  • 33,800
  • 13
  • 85
  • 120
0
votes
0 answers

.Net 4.0 Linking, Assembly Resolution and VSTO 4.0

I'm having an assembly resolution problem with linked assemblies when writing a VSTO 4.0 add-in. I have assemblies A, B, C and D; where Assembly A references B and B references C and D. During the build process I link assemblies C and D into…
Wes
  • 77
  • 7
0
votes
0 answers

visual studio configure dll reference so it tries to resolve it in an specific order at runtime

In visual studio we reference an external dll in our project with the option copy local to true. The problem is that the client may have a different version of that dll in their system and in that case our app has to use their dll. Is there a way in…
VSP
  • 2,367
  • 8
  • 38
  • 59
0
votes
1 answer

Why is AssemblyResolve event trying to resolve an assembly that is already loaded in the AppDomain?

I have a service that involves downloading an assembly from cloud storage, creating an instance of it using Activator.CreateInstance and then invoking a method on it. I have set up a AssemblyResolve method to download dependencies which works fine,…
QTom
  • 1,441
  • 1
  • 13
  • 29
0
votes
1 answer

.net-assembly resolution

I am studying about assemblies and confused on some points after searching I am asking question here. I read about assembly resolution that for strongly named assemblies the order of assembly resolution is to first check GAC then the root directory…
user2156081
0
votes
1 answer

C# Autonomous Update

in my new project (windows-C#-vs2008)I want the executable to be able to autonomously update itself- perhaps from a network server Here What I do is download any updated dlls to "isolated storage" (each as separate dlls) then modify the…
Anees
  • 885
  • 4
  • 13
  • 31
0
votes
2 answers

Assembly reference not found, even though the assembly is in the same directory

We're currently developing an add-in for some software. We decided to develop in .NET, even though the application is written in some native language. Since there were some problems directly creating the external interface in .NET, we decided to…
OregonGhost
  • 23,359
  • 7
  • 71
  • 108
0
votes
0 answers

BindingRedirect strange behavior

It's been a couple of days that I'm trying to find out what's wrong with the redirection of versions but I miserably failed. Here is the situation: there is a .net (framework 3.5) application called app.exe, this application depends on…
Davy
  • 429
  • 2
  • 17
0
votes
0 answers

Gradle dependency gets excluded from EAR

I have a gradle project with several subprojects. and I have defined several dependencies in library with version numbers and aliases in the root project. Now whenever subproject needs it it can define that alias with what level it wants e.g.…
Chirag Shah
  • 55
  • 1
  • 10
0
votes
1 answer

Multiple search paths for assemblies not in the GAC when using REGASM & COM

I am in the process of creating a .NET assembly that will be registered for COM so that it can be referenced by Microsoft Excel VBA. The assembly references a third-party .NET assembly (that contains some useful classes) that is not in the GAC,…
i_saw_drones
  • 3,486
  • 1
  • 31
  • 50