[Mono-dev] Nuget and xbuild

Ankit Jain radical at gmail.com
Wed Feb 1 11:22:54 UTC 2012


2012/2/1 "Konrad M. Kruczyński" <konrad.kruczynski at gmail.com>

> Hi all,
> during playing with nuget I discovered that xbuild has some problems
> with playing with nuget's targets. Specifically nuget.targets contains
> lines like that one:
> <PackagesConfig>$([System.IO.**Path]::Combine($(ProjectDir),
> "packages.config"))</**PackagesConfig>
> During the build one can see errors like that one:
> Unable to locate '$([System.IO.Path]::Combine(/**some/path,
> "another/path"))'
>

xbuild doesn't support property functions yet. In this case, the
replacement should
be easy:

  <PackagesConfig>$(ProjectDir)\packages.config</PackagesConfig>

-- 
Blog : http://www.ankitjain.org/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120201/85902eb0/attachment.html>


More information about the Mono-devel-list mailing list