tagged [dependencies]

Automated OSGi dependency resolution for bundles that are maven-accessible?

Automated OSGi dependency resolution for bundles that are maven-accessible? It seem that there is already a fairly automated method to link, at least on the server, dependencies with their available b...

16 Oct at 04:0

Order of static constructors/initializers in C#

Order of static constructors/initializers in C# While working on a C# app I just noticed that in several places static initializers have dependencies on each other like this: Without doing anything sp...

9 Oct at 01:15

How to sort depended objects by dependency

How to sort depended objects by dependency I have a collection: The first item in pair is some object (item) and the second one is a collection of the same type objects that the first one depends on. ...

Create nuget package for a solution with multiple projects

Create nuget package for a solution with multiple projects We are currently building a solution with several projects. We have something like this: So Logging.NLog is dependant on Logging, Logging on ...

Dealing with optional dependencies (C#)

Dealing with optional dependencies (C#) We have an app which optionally integrates with TFS, however as the integration is optional I obviously . What should I do? 1. Is it ok for me to reference the ...

20 May at 07:40

What's the best way to cache data in a C# dll?

What's the best way to cache data in a C# dll? I've written a DLL that may be used in a number of ways (referenced by ASP.NET web sites, WinForms, etc.). It needs to load its data from several delimit...

21 Jan at 04:36

Reflection.Net: how to load dependencies?

Reflection.Net: how to load dependencies? I try to add an addons system to my Windows.Net application using Reflection; but it fails when there is addon with dependencie. Addon class have to implement...

30 Oct at 15:5

Failed to load c++ bson extension

Failed to load c++ bson extension A total node noob here. I've been trying to set up a sample node app but the following error keeps popping up every time I try to run: > ``` Failed to load c++ bson e...

Visual Studio clean solution doesn't delete all dlls / project reference getting moved

Visual Studio clean solution doesn't delete all dlls / project reference getting moved I have a VS 2008 C# web app with a bunch of project references to custom dlls. These are all at a relative path f...

Newtonsoft.json assembly package version mismatch

Newtonsoft.json assembly package version mismatch I am trying to use [SocketIO4Net](https://nuget.org/packages/SocketIO4Net.Client) to create socket.io client in .net. Itseems SocketIO4Net has a depen...

C# grandchild project DLLs not included in msbuild package

C# grandchild project DLLs not included in msbuild package I have a C# project X that references a C# project Y that references a C# project Z. So the dependency chain looks like this: X => Y => Z. Th...

Why can the C# compiler "see" static properties, but not instance methods, of a class in a DLL that is not referenced?

Why can the C# compiler "see" static properties, but not instance methods, of a class in a DLL that is not referenced? The premise of my question, in plain english: - `Foo``Bar`- - - `FooBar` Consider...

Which maven dependencies to include for spring 3.0?

Which maven dependencies to include for spring 3.0? I am trying to do my first project with Spring 3.0 (and maven). I have been using Spring 2.5 (and primer versions) in quite some projects. Neverthel...

10 Feb at 14:55

Is testability alone justification for dependency injection?

Is testability alone justification for dependency injection? The advantages of DI, as far as I am aware, are: - - - - Say I have a repository, OrderRepository, which acts as a repository for an Order ...

Maven: Failed to read artifact descriptor

Maven: Failed to read artifact descriptor I am hoping someone can help me with a problem I am struggling with. When I try to build my project from the terminal I get this error: The `common.tes

23 Jun at 04:30

The located assembly's manifest definition does not match the assembly reference

The located assembly's manifest definition does not match the assembly reference I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following erro...

Refactoring for DI on large projects

Refactoring for DI on large projects I work on a large scale platform project supporting around 10 products that use our code. So far, all of the products have been using the full functionality of our...

Why do I (sometimes) have to reference assemblies referenced by the assembly I reference?

Why do I (sometimes) have to reference assemblies referenced by the assembly I reference? I have an assembly A that defines an interface with some overloads: ...and an assembly B that references A (th...

How do I exclude all instances of a transitive dependency when using Gradle?

How do I exclude all instances of a transitive dependency when using Gradle? My gradle project uses the `application` plugin to build a jar file. As part of the runtime transitive dependencies, I end ...

Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0' - However binary exists in bin folder

Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0' - However binary exists in bin folder I am trying to do something pretty simple here, and I've been stuck on it for several hours. I...

20 Jun at 09:12

C# WPF Attached Properties - Error: "The property does not exist in XML namespace"

C# WPF Attached Properties - Error: "The property does not exist in XML namespace" I need to create a new property to existing WPF controls (Groupbox, textbox, checkbox, etc), one that will storage it...

How to handle dependency injection in a WPF/MVVM application

How to handle dependency injection in a WPF/MVVM application I am starting a new desktop application and I want to build it using MVVM and WPF. I am also intending to use TDD. The problem is that I do...

MSBuild doesn't copy references (DLL files) if using project dependencies in solution

MSBuild doesn't copy references (DLL files) if using project dependencies in solution I have four projects in my Visual Studio solution (everyone targeting .NET 3.5) - for my problem only these two ar...

How to access class in C++/CLI from C#?

How to access class in C++/CLI from C#? I am writing a GUI tool in C# to parse and display the data output of another program written in C. In order to parse the data I need to know the data structure...

Maven: how to override the dependency added by a library

Maven: how to override the dependency added by a library Here's my generic problem: My project P depends on A which depends on B which depends on C which depends on version 1.0.1 of D. There's a probl...

8 Feb at 11:35