dependencies

MSBuild doesn't pick up references of the referenced project

Hello, I bumped into a strange situation with MSBuild just now. There's a solution which has three projects: LibX, LibY and Exe. Exe references LibX. LibX in its turn references LibY, has some content files, and also references to a third-party library (several pre-built assemblies installed in both GAC and local lib folder). The third-...

Is it possible to simulate installation of Debian packages, still marking them installed?

Here's what I would like. Start with a virtual sytem with no installed packages. Then I invoke a tool similar to apt-get to ask it to compute the dependencies and mark all the packages that would be installed as installed. Let this be clear: it says the packages are installed, but they are no files actually installed. Then if I ask for ...

Eclipse: Dependency Management

What are some methods of utilising Eclipse for Dependency Management? ...

Tools for finding unused references

Are there any good tools or tricks for determining if there are any referenced but unused dependencies (such as dlls) in a project? My specific case is C# .net3.5. ...

Different dependency settings for 'Debug' and 'Release' build configuration in VisualC++ 6.0

I'm using VisualC++ 6.0. (and, yes, I'm using Mosaic browser..;) My VC++ project has different dependency setting for 'Debug' and 'Release' build configuration. So, when I switch from one configuration to other, I have to change the dependency by hand every time. Is there any better way to do this? Can I keep my dependency setting accor...

How to track System Dependencies?

Introduction In my current organisation, we have many desktop and web applications all feeding into each other at some point. When looking after older applications or creating new applications, it's proving very difficult to try and remember which system rely on other systems in order to work. I'm not talking about software dependencies...

Different dependencies for different build profiles in maven

Is it possible to have a different set of dependencies in a maven pom.xml file for different profiles? e.g. mvn -P debug mvn -P release I'd like to pick up a different dependency jar file in one profile that has the same class names and different implementations of the same interfaces. ...

How do you deal with large dependencies in Boost?

Boost is a very large library with many inter-dependencies -- which also takes a long time to compile (which for me slows down our CruiseControl response time). The only parts of boost I use are boost::regex and boost::format. Is there an easy way to extract only the parts of boost necessary for a particular boost sub-library to make c...

Modern equivalent of javadeps?

I am looking for a replacement for javadeps, which I used to use to generate sections of a Makefile to specify which classes depended on which source files. Unfortunately javadeps itself has not been updated in a while, and cannot parse generic types or static imports. The closest thing I've found so far is Dependency Finder. It almos...

Graceful handling of dependent scheduled tasks?

Say I've got two scheduled processes: A and B. Given that B should not run until A has completed, how might I gracefully enforce this dependency? Approaches that have been considered: Have A schedule B upon completion. This has the downside of B never being scheduled if for some reason A failed. When B runs, have it ping A to see if ...

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 an interface 'IAddon' and to have an empty constructor. Main program load the addon using Reflection: Assembly assembly = Assembly.LoadFile(@"C:\Temp\TestAddon\Addon.dll"); Type ...

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: static private List<int> a = new List<int>() { 0 }; static private List<int> b = new List<int>() { a[0] }; Without doing anything special that worked. Is that just luck? Does C# have rules to resolve this? Ed...

What are some techniques for limiting compilation dependencies in C++ projects?

In a C++ project, compilation dependencies can make a software project difficult to maintain. What are some of the best practices for limiting dependencies, both within a module and across modules? ...

How does one weed out dependencies in a large project?

I'm about to inherit a rather large Java enterprise project that has a large amount of third party dependencies. There is at least seventy JARs included and some of them would seem to be unused e.g. spring.jar which I know isn't used. It seems that over the years as various developers have touched upon the code base they have all tried ...

Possible circular dependency issue with PHP application

I'm experiencing what I believe is a circular dependency issue with my PHP application. Please let me know if this is incorrect. Here is the situation: Two classes, LogManager and DBSession. DBSession is used to interact with the database, and LogManager is used to log to files. Both are widely used in my application. When you create a...

How to find all dependencies of a .NET project?

Basically, what I need is something like Dependecy Walker, but it should work with .NET applications. Is there anywhere such tool? ...

Automatically discovering C dependencies

I'm required to write documentation for my current project that lists all .c files and for each one lists every .h file which is directly or indirectly included by that file. This is a large project, and although we have Makefiles which theoretically have this information, those Makefiles are sometimes incorrect (we inherited this proje...

Is there a tool to automatically fetch build dependencies under Debian or Ubuntu?

I recently downloaded the source tarball for a GTK application that I'd like to improve. It uses the standard ./configure and make build sequence. The first time through, configure reported a bunch of unmet build dependencies, such as libgnomeui-2.0. As I usually do, I had to manually go through and find the Debian *-dev package names...

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

I am trying to run some unit tests in a C# winforms application (VS 2005) and I get the following error: System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the ass...

Missing msvcr80.dll

If the C++ runtime msvcr80.dll is missing from a compiled library, is there any way to determine which version was used to create the library or to get it to run on a later version of msvcr80.dll? ...