In Visual Studio How To Give Relative Path Of A .lib File In Project Properties
I am building a project using Visual Studio. The project has a dependency on a lib file generated by another project. This project is there is the parent directory of the actual project I am building.
To be more clear, I have a "ParentDir" which has two subDirectories Project1 and Project2 under it. Now Project1 depends on lib generated by Project2.
In the properties of Project1, I am trying to give a relative path using $(SolutionDir)/../ParentDir/Project2/Debug But this does not seem to work.
Can you tell me where i am going wrong, or suggest the correct way of achieving this.
Add the dependant project to your solution and set it as a dependency of the other project using project properties. Then it just magically works ;).
A solution is just a file that describes a set of related (interconnected) projects and the relation between them, so this is the correct way of doing it.
- → React Native with visual studio 2015 IDE
- → Where to find example Visual Studio 2015 project(s) using typescript and React?
- → How to configure Visual Studio 2015 to write JSX in ASP.NET 5 (RC) with intellisense
- → How to make this simple TypeScript + React app work with Visual Studio 2015?
- → Format liquid(Shopify) code in visual studio code
- → Typescript intellisense without emitting require
- → How to display shopify free them output on my laptop using visual studio code?
- → Visual Studio Code - how to debug node.js routes?
- → Visual Studio cordova, simple way to "live reload" on Android devices?
- → --allow-live terminal command for shopify development
- → compile typescript with a visual studio code task, specifying the output directory
- → How to highlight all symbol appearances in python code with PTVS?
- → What is the location of the Python tools for Visual Studio?