[Mono-bugs] [Bug 635767] New: xbuild fails to execute custom task

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 31 03:41:50 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=635767

https://bugzilla.novell.com/show_bug.cgi?id=635767#c0


           Summary: xbuild fails to execute custom task
    Classification: Mono
           Product: Mono: Tools
           Version: 2.6.x
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: xbuild
        AssignedTo: jankit at novell.com
        ReportedBy: joe at mistachkin.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8)
Gecko/20100722 Firefox/3.6.8

XBuild fails to execute custom tasks that work perfectly well using MSBuild.

# C:\Eagle\Eagle.Sample.targets: error : Error executing task EvaluateScript:
Argument cannot be null.
# Parameter name: propertyValue
# Error executing task EvaluateScript: System.ArgumentNullException: Argument
cannot be null.
# Parameter name: propertyValue
# at Microsoft.Build.BuildEngine.BuildProperty..ctor (System.String
propertyName, System.String propertyValue) [0x00000] in <filename unknown>:0
# at Microsoft.Build.BuildEngine.ChangeType.ToBuildProperty (System.Object o,
System.Type t, System.String name) [0x00000] in <filename unknown>:0
# at Microsoft.Build.BuildEngine.TaskEngine.PublishProperty
(System.Reflection.PropertyInfo propertyInfo, System.Object o, System.String
propertyName) [0x00000] in <filename unknown>:0
# at Microsoft.Build.BuildEngine.TaskEngine.PublishOutput () [0x00000] in
<filename unknown>:0
# at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] in <filename
unknown>:0
# Task "EvaluateScript" execution -- FAILED
# Done building target "ProcessSampleScripts" in project
"C:\Eagle\Sample\Sample.csproj".-- FAILED 


Reproducible: Always

Steps to Reproduce:
1. Download the Eagle source code package from:

https://eagle.to/cgi-bin/fossil/zip/The%20Eagle%20Project-1ca90085e8d51c86.zip?uuid=1ca90085e8d51c86ec7bbc3f274ba47845f3546c

2. Extract the source code (Windows is preferred).
3. Run the following command from the top Eagle directory: xbuild Eagle.sln
/p:EagleMono=true

Actual Results:  
Error messages are produced.


Expected Results:  
The custom build tasks should execute and the build should complete
successfully.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list