[Mono-dev] XBuild default Visual Studio variable missing.

Leszek Ciesielski skolima at gmail.com
Tue May 19 10:43:02 EDT 2009

On Tue, May 19, 2009 at 4:27 PM, Mark de Bruijn <kramieb at gmail.com> wrote:
> XBuild does only work by default with csproj files generated by MonoDevelop
> or SharpDevelop. they use "MSBuildToolsPath":
>   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
> While Visual Studio uses "MSBuildBinPath":
>   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
> Is it possible to add/alias this path in XBuild, it will make the project
> management less complex.

Explanation of the differing .csproj imports is here
This suggests that $(MSBuildBinPath) is the old way, but both should
point to the same directory.

> Another, little, problem, is that SharpDevelop or MonoDevelop, can't test it
> here, generates with Targets, instead of targets, could be some case
> ingorance be inserted. Or as command line switch.
Create a symlink. Perhaps the xbuild should create it itself during

More information about the Mono-devel-list mailing list