dependencies

How do I deal with dependencies to multiple versions of the same DLL in Visual Studio?

for example: I have app A, which references library A and library B. in addition, library A itself references a different version of library B. (these are all in C#) I want all references to point to a binary DLL file. right now I have a lib folder like so: lib/LibA/v1/LibA_1.dll lib/LibB/v1/LibB_1.dll lib/LibB/v2/LibB_2.dll let's sa...

What term is used to describe when two classes depend on each other?

I've got the following two classes in C#: public class MyFirstClass : IMyFirstClass { MySecondClass mySecondClass; public MyFirstClass(IMySecondClass mySecondClass) { this.mySecondClass = mySecondClass; } public MyFirstClass() : this(new MySecondClass()){} } public class MySecondClass : IMySecondClass { ...

Finding the dependencies of a class in c#

We have a c# app that uses a number of libraries (that we wrote too). The app depends on the different libraries and some of the libraries depend on some of the other libraries. Now when it comes to testing the app we also need to make sure that the libraries are all working correctly. The problem is that the app only uses a small amoun...

Duplicated DLL in the "Detected Dependencies" folder

In my solution I have to project using the same references (AxInterop.QTOControlLib.dll, Interop.QTOControlLib.dll and Interop.QTOLibrary.dll). My problem is that in my deployement project, these dependencies appear twice in the "Detected Dependencies" folder, thus lead to several warning like : Warning 1 Two or more objects have the...

How to Identify a Missing Dependency

We have a legacy 3rd party program that is failing with the error "Class Not Registered" when it tries to execute certain functionality. Is there a way to tell what class it's looking for? Sometimes it says "Catastrophic error" instead. Tried Dependency Walker statically and profiling, Kernal32.exe errors. I'm guessing that's the ins...

Specifying a subproject's Configuration in XCode

I have an XCode project (A) referencing another project (B). By default (as far as I understand it) XCode will implicitly build the configuration for the B dependency that matches the configuration of the A's target (e.g., "Debug"). But what if I want, say, A to build as "Debug" and the B to build as "Release"? How would I go about speci...

Makefile to archive/link together auto-generated source files

Basically, I have a file 'blah.txt'. That files gets parsed by a 'compiler' and from it will generate N output .c files. I want a makefile that will from that .txt file generate the c files then compile all of them and archive them in a libmystuff.a I tought of something like this : all: dogen libmystuff.a dogen: source.txt mycomp...

VS2008 build multiple configurations of the same project

I have three solutions which build two clients and a server, and share many libraries. I would like to be able to combine these into a "master" solution that builds all the necessary projects. For various reasons, which perhaps deserve a question of their own, some of the shared libraries are linked statically (.lib only) to one applic...

How Do You Clean up a PHP Project?

I have been working on a small php app (400K total). But in the process of building and learning I have a lot of junk files. I didn't do my job and name them properly, ie demo1.php ect... Is there a way to do dependency checking? Or is it just delete, refresh and repeat? Then undelete when needed? ...

x86 TargetPlatform with XBAPs

I've got a XAML Browser Hosted Application (XBAP) project that has a dependency on another project that is x86 only. All sorts of hell breaks loose at runtime (with respect to grabbing the DLLs) if I leave the target platform as "Any CPU". However, if I switch the XBAP project to target x86, I get the following compile time error: ...

Activate profile in depended-on POM?

My company writes companion products for project management software that uses that software's Java API. They release new API versions with new releases of their products, and also point releases for bug fixes etc. We need to support clients using various versions of their software (and by extension, their API). In order to do this wi...

In what order prerequisites will be made by the GNU make?

Assuming we have the rule: a: b c d e and b, c, d and e are independent of each other. Is the order of making b, c, d, e defined? It seems that generally they will be made in order b, c, d, e, but may it sometimes happen, that the order will be different? ...

OracleCommand execution blocks if has OracleDependency

I have the following code: OracleConnection conn = new OracleConnection(connString); OracleCommand command = new OracleCommand("select * from testtable", conn); conn.Open(); OracleDependency.Port = 2010; OracleDependency dependency = new OracleDependency(command); command.AddRowid = true; command.Notification.IsNotifiedOnce = false; de...

Organising project dependencies

I'm with a fairly large team and we are running into problem with the other libraries we depend on, and getting the same project files to work for every one. The problem is that many people have more than one version of the same library (eg the project users boost 1.36, and I use boost 1.39 for some of my other stuff), and every develop...

Maven doesn't recognize sibling modules when running mvn dependency:tree

I'm trying to set up a multi-module Maven project, and the inter-module dependencies are apparently not being set up correctly. I have: <modules> <module>commons</module> <module>storage</module> </modules> in the parent POM (which has a packaging-type pom) and then subdirectories commons/ and storage/ which define JAR poms with ...

How to create multiple components of a service with c'tor dependencies

I'd like to create several similar services which can be destinguished and accessed by their names (=keys). For the service implementation I want to use classes with c'tor dependencies like this: public interface IXYService { string Tag { get; set; } } public class _1stXYService : IXYService { public _1stXYService(string Tag) { ...

Batch Job Dependencies Using Open Source/Free Software

I run a large data warehouse plant where we have a lot of nightly jobs running concerruently however many have dependencies on a extract or data load process before they start. Currently we use an 'expensive scheduling system' to scehdule these at the moment. Is there any way you can setup job dependencies using an open source or free u...

Determine RC dependencies

I have a fairly large project which uses make for its build infrastructure. When we perform a build, we take advantage of cl.exe's /showInclude option to find source dependencies. Is there a similar capability for rc.exe? The basic problem is this: A makefile specifies a resource to be compiled (say, resources.rc). The resource file...

Generating RC dependencies

I have a fairly large project which uses make for its build infrastructure. When we perform a build, we take advantage of cl.exe's /showInclude option to find source dependencies. Is there a similar capability for rc.exe? The basic problem is this: A makefile specifies a resource to be compiled (say, resources.rc). The resource file in...

Do all dependencies used in a mono project need to be compiled with mono.

Let say I started a C# project under Windows (Visual Studio 2008) and I want to switch to Mono. Do I have to recompile all the dependencies my project uses, e.g., NHibernate and every single external dependency that comes along ? Note 1: The reason I asked this question is that I built a project with MonoDevelop on Ubuntu 9.10 and every...