GurdeepS
GurdeepS

Reputation: 67223

Reference containing folder of nant script?

In NANT,if I write a path, how could I , instead of writing "c:\documents and settings" etc, reference the containing folder of the nant script?

Thanks

Upvotes: 2

Views: 331

Answers (1)

Rami A.
Rami A.

Reputation: 10582

You can get the current directory of the nant script by calling the project::get-base-directory() function.

project::get-base-directory

You can also get the current directory by calling the directory::get-current-directory function() function.

directory::get-current-directory

Upvotes: 2

Related Questions