How to edit the Full Path property of the file in Visual Studio

0

I added an existing file to my project. With that, it fixes the Full Path of my file, and I can not change it any more.

What I need to do is to edit this value by using variables like $(SolutionDir) , so that the project compiles independent of the directory where it was downloaded.

Case example:

I made the include. The Full Path looks like this: C:\Users\Victor\Desktop\Contribs\roundto\src\roundto.c

When in fact I would need it to be available at: $(SolutionDir)\..\..\src\roundto.c

Here is the step by step I use to add the files:

    
asked by anonymous 23.02.2017 / 21:23

0 answers