[Mono-dev] Nuget and xbuild

"Konrad M. Kruczyński" konrad.kruczynski at gmail.com
Wed Feb 1 10:04:13 UTC 2012


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"))'

Is it that Combine is not executed at all but rather taken as a string?
Is it a bug?

I'm attaching whole nuget.targets.

--
Regards,
  Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nuget.targets
Type: text/xml
Size: 2725 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120201/6a594191/attachment.xml>


More information about the Mono-devel-list mailing list