Bug 9159 - xbuild lists recursively-searched files multiple times in an item
Summary: xbuild lists recursively-searched files multiple times in an item
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-12-29 02:28 UTC by Yusuke Izumi
Modified: 2012-12-29 04:39 UTC (History)
1 user (show)

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


Attachments
A set of files to reproduce the bug (1.08 KB, application/zip)
2012-12-29 02:29 UTC, Yusuke Izumi
Details


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 9159 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:
Status:
NEW

Description Yusuke Izumi 2012-12-29 02:28:51 UTC
Repro steps:
Unzip the attached archive and run xbuild in the demo/ directory. The key is that we have two files, namely a/foo.cs and a/b/bar.cs, and a .proj file with an item <Source Include="**/*.cs"/>.

Expected:
a/foo.cs and a/b/bar.cs occur once each in @(Source).

Actual:
a/foo.cs occurs 2 times and a/b/bar.cs occurs 3 times in @(Source).
Comment 1 Yusuke Izumi 2012-12-29 02:29:32 UTC
Created attachment 3142 [details]
A set of files to reproduce the bug
Comment 2 Yusuke Izumi 2012-12-29 04:39:11 UTC
Environment:
Mac OS X 10.7.5, Mono 3.0.2, XBuild 3.0.2

$ uname -a
Darwin ******** 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

$ mono --version
Mono JIT compiler version 3.0.2 (master/9e7f206 Wed Dec  5 08:41:22 EST 2012)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           normal
        SIGSEGV:       altstack
        Notification:  kqueue
        Architecture:  x86
        Disabled:      none
        Misc:          softdebug 
        LLVM:          yes(3.1svn-mono)
        GC:            Included Boehm (with typed GC)