~bratsche/ubuntu/maverick/monodevelop/disable-appmenu

« back to all changes in this revision

Viewing changes to src/addins/AspNetAddIn/Project/VerifyCodeBehindBuildStep.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-03-29 23:36:33 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080329233633-wq5p1rktg8ek3vxc
Tags: 1.0+dfsg-1ubuntu1
* Merge from Debian unstable. (LP: #209012) Remaining Ubuntu changes:
+ debian/control: 
  - Build-dep on xulrunner-1.9-dev instead of firefox-dev
  - Depend on xulrunner-1.9 instead of firefox
+ don't do any MOZILLA_HOME/MOZILLA_FIVE_HOME business which isn't needed
  for xulrunner-1.9 using the standalone glue anymore (gecko gil uses
  standalone by default)
  - add debian/patches/use_xulrunner_1.9.dpatch
  - update debian/patches/00list
* Remove build-dep on libxul-dev and the dep on libxul0d
  since we are using xulrunner1.9 instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
using MonoDevelop.Projects;
7
7
using MonoDevelop.Projects.Parser;
 
8
using MonoDevelop.Projects.CodeGeneration;
8
9
using MonoDevelop.Core.ProgressMonitoring;
9
10
using MonoDevelop.Core;
10
11
using MonoDevelop.DesignerSupport;
21
22
                        AspNetAppProject aspProject = project as AspNetAppProject;
22
23
                        List<CodeBehindWarning> errors = new List<CodeBehindWarning> ();
23
24
                        
24
 
                        if (aspProject == null)
 
25
                        if (aspProject == null || aspProject.LanguageBinding == null || aspProject.LanguageBinding.Refactorer == null)
 
26
                                return base.Build (monitor, project);
 
27
                        
 
28
                        RefactorOperations ops = aspProject.LanguageBinding.Refactorer.SupportedOperations;
 
29
                        if ((ops & RefactorOperations.AddField) != RefactorOperations.AddField)
25
30
                                return base.Build (monitor, project);
26
31
                        
27
32
                        //lists of members to be added