Questions tagged [project-reference]

161 questions
3
votes
1 answer

Xcode, including a external reference folder in a build

I have a folder located on my hard drive that is basically a library of handy classes i've created (file are .h and .cpp). I want to keep them external so I can reference them consistently from multiple ongoing projects. I use add existing files and…
3
votes
5 answers

Visual Studio 2005, how to get where project are used in a solution?

I have a solution with other 70 projects into it. My question is : How can I know where the project is used? I do not want to open all those 70 projects to verify the References one by one. How can I see which project use one project in…
Patrick Desjardins
  • 136,852
  • 88
  • 292
  • 341
3
votes
0 answers

I've upgraded from Visual Studio 2010 to 2012. Project references to SqlClr projects are looking for my project's dll, but with no file extension

Say I have a SqlClr project called MySqlClrProject, which builds the file MySqlClrProject.dll. I've observed that the Build output file name can be either MySqlClrProject or MySqlClrProject.dll, but either way will produce a file named…
rrreee
  • 753
  • 1
  • 6
  • 20
3
votes
1 answer

How can I automatically link in the dependency of a dependency in VS 2010?

I'm using Visual Studio 2010, with a lot of project and solution files. But now I find myself in a bit of dependency hell with ProjectReferences: Project Simple produces a static lib. Projects Foo and Bar depend on Simple, and also produce static…
Tim
  • 8,912
  • 3
  • 39
  • 57
2
votes
0 answers

What does Eclipse do with the "Project References" checked projects?

Right click on a project-> properties -> Project References. A list of the projects in your workspace appears for you to check. If it only does what I think (force a rebuild when you want to build/run and the referenced project is updated),…
mamuso
  • 3,117
  • 3
  • 30
  • 32
2
votes
1 answer

Include Nuget packages in project reference

I have tried searching for an answer to this question, but everything I find is referring to building a Nuget package of my own. To be clear, I am not looking to create a Nuget package, i simply want to refence a project within the same…
BrianKE
  • 4,035
  • 13
  • 65
  • 115
2
votes
1 answer

NuGet Package can't find and use its own DLLs

I have a problem with making a package of a project with other project as a reference. In a few words… We have a Net. Core WebAPI with an Onion Architecture. Where those layers are implemented as referenced projects like: core, domain,…
Savonarolla
  • 459
  • 1
  • 5
  • 10
2
votes
1 answer

Primary reference can't be resolved - dlls' that target different versions of .NET

In my solution I have projects A and B. Project A is targeting .NET 4.0. Project B must target .NET 3.5 as it is for Sharepoint 2010. Project B has a reference to Project A. When I compile, I get multiples of the following warning: The primary…
laconicdev
  • 6,360
  • 11
  • 63
  • 89
2
votes
0 answers

Enabling transitive project references in .Net Framework => .Net Standard project

I've got a project setup as follows: Project B has a dependency on Project A Project C has a dependency on Project B I would like Project C to have access to Project A's types transitively. However, in my Project C (.Net Framework 4.8) referencing…
2
votes
0 answers

typescript project reference to shared project fails to resolve

I'm trying to use Typescript Project references between 2 projects: client and shared the client/tsc -b process succeeds. but, on runtime imports of shared files fail. the project structure is very simple:…
Ronny Roktel
  • 354
  • 2
  • 9
2
votes
1 answer

Is there a way to have multiple applications reference a global project that has other project references

After searching quite a bit, I seem to be unable to find an answer to my problem. Usually, I find that means it is a non existent or incorrect approach, but I think it worth it to have an answer floating around on the internet nonetheless.…
MZawg
  • 308
  • 4
  • 15
2
votes
1 answer

Create a NET Core Project Reference to another project of a specific RID

Essientially I need to say: any where I need to specifically reference the "any" rid that is produced by dotnet build without the -r. Trying to reference a…
Joshua
  • 40,822
  • 8
  • 72
  • 132
2
votes
1 answer

Referencing shared project within solution structure

I'm trying to resolve problem with referencing shared project within couple class libraries. Inside solution the references between projects are: Class library A -> SharedProject Class library B -> SharedProject Class library C ->…
Kazenga
  • 476
  • 1
  • 4
  • 15
2
votes
0 answers

Visual Studio automatically updating assembly references

Solution A has a project which builds an assembly, which is referenced by a project in Solution B. Solution A builds to c:\Bob, and solution B references the assembly c:\Bob\Assembly1.dll, and builds to C:\Kate\, copying Assembly1.dll to c:\Kate\ If…
2
votes
1 answer

vs2008 Including Managed C++ class from one dll in another Managed C++ class?

I have a project called ManagedWrapper that is Managed C++ and builds as a DLL. I have a second project called MyManagedTest that is Managed C++ and builds as a DLL. When I try to include a header from ManagedWrapper in MyManagedTest, I get linker…
Ben
  • 127
  • 11