mail-archives/mono-bugs/2010-July/101916.html

171 строка
6.3 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 619842] New: xbuild fails when project file contains items with wildcards.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20619842%5D%20New%3A%20xbuild%20fails%20when%20project%20file%0A%20contains%20items%20with%20wildcards.&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="102058.html">
<LINK REL="Next" HREF="101917.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 619842] New: xbuild fails when project file contains items with wildcards.</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20619842%5D%20New%3A%20xbuild%20fails%20when%20project%20file%0A%20contains%20items%20with%20wildcards.&In-Reply-To="
TITLE="[Mono-bugs] [Bug 619842] New: xbuild fails when project file contains items with wildcards.">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Jul 5 04:02:18 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="102058.html">[Mono-bugs] [Bug 619811] TimeZoneInfo.ConvertTimeFromUtc throws a NullReferenceException for US/Hawaii timezone
</A></li>
<LI>Next message: <A HREF="101917.html">[Mono-bugs] [Bug 619842] xbuild fails when project file contains items with wildcards.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#101916">[ date ]</a>
<a href="thread.html#101916">[ thread ]</a>
<a href="subject.html#101916">[ subject ]</a>
<a href="author.html#101916">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=619842">http://bugzilla.novell.com/show_bug.cgi?id=619842</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=619842#c0">http://bugzilla.novell.com/show_bug.cgi?id=619842#c0</A>
Summary: xbuild fails when project file contains items with
wildcards.
Classification: Mono
Product: Mono: Tools
Version: 2.6.x
Platform: x86-64
OS/Version: Windows Server 2008
Status: NEW
Severity: Major
Priority: P5 - None
Component: xbuild
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">jankit at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">hardcaseminator at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
Description of Problem:
Steps to reproduce the problem:
1. Create any valid project file that contains include like:
&lt;Compile Item=&quot;*.cs&quot; /&gt;
2. Run xbuild
Actual Results:
xbuild fails with exception.
Expected Results:
Normal processing items selected by wildcard.
How often does this happen?
Always
Additional Information:
Xbuild is broken in 2.6.4 release.
Binaries from 2.6 works fine.
Stacktrace:
XBuild Engine Version 2.6.4.0
Mono, Version 2.6.4.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.
MSBUILD: error MSBUILD0000:
Microsoft.Build.BuildEngine.InvalidProjectFileException:
C:\!Proj\nemerle\Nemerle.XBuild.Ta
ks.csproj: Argument is out of range.
Parameter name: startIndex ---&gt; System.ArgumentOutOfRangeException: Argument is
out of range.
Parameter name: startIndex
at System.String.Substring (Int32 startIndex) [0x00000] in &lt;filename
unknown&gt;:0
at Microsoft.Build.BuildEngine.DirectoryScanner.ProcessInclude (ITaskItem
include_item, System.Collections.Generic.Di
tionary`2 excludedItems, System.Collections.Generic.List`1 includedItems)
[0x00000] in &lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.DirectoryScanner.Scan () [0x00000] in
&lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.BuildItem.Evaluate
(Microsoft.Build.BuildEngine.Project project, Boolean evaluatedTo)
0x00000] in &lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.BuildItemGroup.Evaluate () [0x00000] in
&lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.GroupingCollection.Evaluate (EvaluationType
type) [0x00000] in &lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.GroupingCollection.Evaluate () [0x00000] in
&lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.Project.Evaluate () [0x00000] in &lt;filename
unknown&gt;:0
at Microsoft.Build.BuildEngine.Project.ProcessXml () [0x00000] in &lt;filename
unknown&gt;:0
at Microsoft.Build.BuildEngine.Project.DoLoad (System.IO.TextReader
textReader) [0x00000] in &lt;filename unknown&gt;:0
--- End of inner exception stack trace ---
at Microsoft.Build.BuildEngine.Project.DoLoad (System.IO.TextReader
textReader) [0x00000] in &lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.Project.Load (System.String projectFileName,
ProjectLoadSettings settings) [0x00000] i
&lt;filename unknown&gt;:0
at Microsoft.Build.BuildEngine.Project.Load (System.String projectFileName)
[0x00000] in &lt;filename unknown&gt;:0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in &lt;filename
unknown&gt;:0
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="102058.html">[Mono-bugs] [Bug 619811] TimeZoneInfo.ConvertTimeFromUtc throws a NullReferenceException for US/Hawaii timezone
</A></li>
<LI>Next message: <A HREF="101917.html">[Mono-bugs] [Bug 619842] xbuild fails when project file contains items with wildcards.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#101916">[ date ]</a>
<a href="thread.html#101916">[ thread ]</a>
<a href="subject.html#101916">[ subject ]</a>
<a href="author.html#101916">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>