Questions tagged [dll-dependency]
10 questions
3
votes
4 answers
Visual Studio not building a dependency of a project
I have a project which consists of window services projects and a logic project for each one.
Let's say my windows service project is called Project1 and it has a logic project called Project1BL. If I build Project1, it builds Project1BL AND…

user779444
- 1,365
- 4
- 21
- 38
2
votes
1 answer
Is this a good approach for managing common libraries?
We need to find a sensible way to manage our in-house .NET libraries that could be potentially reused by multiple projects. Googling and thinking about the issue for a few hours led me to following conclusion which I'd like to go forward with:
There…

Nikola Anusev
- 6,940
- 1
- 30
- 46
2
votes
1 answer
dll dependency problem - 3rd party package(Nuget) overrides the other in the output folder System.Runtime.CompilerServices.Unsafe dll
Goal: control the output dll without saving or adding the artifact to the repository.
The main issue is that I have two 3rd party packages in my solution (.net framwork 4.6.1):
rabbitMQClient V6.0.0 that use - system.memory (>= 4.5.4) ->…

Napo
- 21
- 1
2
votes
1 answer
Load DLL Library Error 126 - Trying to create a JVM
I am trying to make an .exe for running my Java application. I have the following code:
Labyrinth.c
#include
#include
#include
#define MAIN_CLASS "game/main/Game"
__declspec(dllexport) __stdcall int run(){
JNIEnv*…

apilat
- 1,370
- 8
- 17
1
vote
1 answer
Azure cloud service: System.Net.Http.Formatting.dll requests old Newtonsoft.Json.dll -> role initialization fails
I have pretty big solution with about 80 projects, running on the Azure cloud service server as Web role using WebAPI (v1). I have created new enhancement regarding content negotiation by implementing custom JsonReader/Writer. When I have tried use…

Zoka
- 2,312
- 4
- 23
- 33
1
vote
2 answers
How can Find all dependencies of an application?
In a Portable-Exe ,there is possibilities to find the imported section ,and also all imported dll names (using import descriptor).Here Ex, One application Exe has many imported dlls(kernel32,advapi,user,comctl32....etc),Now i want to find all…

Rajakumar
- 442
- 1
- 9
- 21
1
vote
0 answers
Spring.net dependencies to consider in bindingRedirect
I'm using spring.net version 2.0.0 in a Web API project and I just added a reference to a dll that depends on spring.net version 1.3.2.
I'm doing the following in my web.config:

jorgehmv
- 3,633
- 3
- 25
- 39
0
votes
2 answers
Visual Studio auto restores dll packages
In the company I work, inside every solution we have one folder packages, which contains all dll dependencies. This folder is not in repository with the rest of the solution.
Every time I build one project, all files inside folder packages are…

user3417479
- 1,830
- 3
- 18
- 23
0
votes
1 answer
How to debug solution of a dependent dll with two instance of visual studio?
I have I Sharepoint Timer job solution that has a dependent .dll of another solution .
To debug 1st one, I just need to attach to the OWSTIMER.EXE process. But I'd need to debug the 2nd solution When the 1st call some method of the 2nd.
I've been…

hello B
- 891
- 5
- 18
- 41
0
votes
7 answers
A .NET DLL question
I created a C# file and wish to compile it into a DLL for future use. However, this .cs file depends on another DLL. In my code inside my .cs file I am doing something like:
using anotherlib.dll;
When I try to compile it into a DLL, the compiler…

sarsnake
- 26,667
- 58
- 180
- 286