[MonoDevelop] How to set relative paths to files in project?

Nils Andresen nils at nils-andresen.de
Mon Jan 3 03:04:34 EST 2011


Hi,
for c# projedts I am using i.e.
<OutputPath>..\..\..\bin</OutputPath>
or <HintPath>..\..\..\bin\contracts.dll</HintPath>
in the csproj-File.
This references are relative to the projects-dir..

Yours,
Nils

2011/1/2 Ian Norton <Ian.Norton-Badrul at thales-esecurity.com>:
> Is it actually ${ProjectDir}? That works for me doing normal c projects.
>
> Andrzej Skalski <Andrzej.Skalski at students.mimuw.edu.pl> wrote:
>
>
> Hi,
>
> I am developing a C++ application using mono, and I don't know how to
> set relative paths to include directories and libraries. I need this
> very much, as the project files are stored in repository, and different
> users have copies of it in different places in their local filesystems.
>
> Yes I googled. And the usual Visual Studio's "$(ProjectDir)" doesn't
> seem to be parsed (it's passed as is to compiler).
>
> Regards,
> Andrzej Skalski
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list