Bug 15325 - xbuild incorrectly evaluates itemgroup/propertygroup
Summary: xbuild incorrectly evaluates itemgroup/propertygroup
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-10-10 10:48 UTC by Anton Tayanovskyy
Modified: 2013-10-10 10:48 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 15325 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Anton Tayanovskyy 2013-10-10 10:48:10 UTC
Given a Test.proj in an empty directory:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Target Name="Build">
      <I Include="**/*.proj" />
    <Warning Text="P=$(P)" />
      <J Include="$(P)" />
    <Warning Text="J=@(J)" />

Evaluating `msbuild Test.proj` prints P=Test.proj; J=Test.proj
Evaluating `xbuild Test.proj` prints P=Test.proj; J=@(I,';')

xxxx@xxx:~/dev/tmp/Library5$ xbuild --version
XBuild Engine Version
Mono, Version
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
MSBUILD: error MSBUILD0000: Project file '--version' not found.

Mono JIT compiler version 3.2.3 ((no/8d3b4b7 Tue Oct  1 16:37:02 EDT 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen