[Mono-bugs] [Bug 580631] New: Microsoft.Build.BuildEngine.ProjectLoadSettings enumeration is missing and Microsoft.Build.BuildEngine.Project.Load missing overloads.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 17 14:02:54 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=580631

http://bugzilla.novell.com/show_bug.cgi?id=580631#c0


           Summary: Microsoft.Build.BuildEngine.ProjectLoadSettings
                    enumeration is missing and
                    Microsoft.Build.BuildEngine.Project.Load missing
                    overloads.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Ms.Build
        AssignedTo: marek.sieradzki at gmail.com
        ReportedBy: dale.ragan at sinesignal.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5

Unable to compile a project with Mono from SVN that uses
Microsoft.Build.BuildEngine.Project.Load(string, ProjectLoadSettings).  The
overloaded method is missing and the ProjectLoadSettings enumeration is
missing.

I am trying to add a MonoDevelop Add-in functionality for the SpecFlow project.
 You can get the project from here:

http://github.com/sinesignal/SpecFlow

I am unable to compile the TechTalk.SpecFlow.Generator.csproj with MonoDevelop
due to the above missing functionality.

Reproducible: Always

Steps to Reproduce:
1. Clone git://github.com/sinesignal/SpecFlow.git
2. Try to compile the TechTalk.SpecFlow.Generator project with MonoDevelop.
3. Watch the compile fail.
Actual Results:  
In TechTalk.SpecFlow.Generator.Configuration.MsBuildProjectReader: 
        project.Load(projectFile, 
ProjectLoadSettings.IgnoreMissingImports); 
    Error being thrown by the compiler: 
        Error CS0103: The name `ProjectLoadSettings' does not exist in 
the current context (CS0103) (TechTalk.SpecFlow.Generator)

Expected Results:  
The project to compile.

I changed the Load method to a supported overload for now.  So far so good and
I can compile the project.  I am working on getting all the tests to pass now. 
This is the only problem I have encountered so far trying to compile the
library with Mono.

-- 
Configure bugmail: http://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