~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectConfiguration.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
                {
47
47
                }
48
48
 
 
49
                [ProjectPathItemProperty("IntermediateOutputPath")]
 
50
                private FilePath intermediateOutputDirectory;
 
51
 
 
52
                public virtual FilePath IntermediateOutputDirectory {
 
53
                        get {
 
54
                                if (!intermediateOutputDirectory.IsNullOrEmpty)
 
55
                                        return intermediateOutputDirectory;
 
56
                                if (!string.IsNullOrEmpty (Platform))
 
57
                                        return ParentItem.BaseIntermediateOutputPath.Combine (Platform, Name);
 
58
                                return ParentItem.BaseIntermediateOutputPath.Combine (Name);
 
59
                        }
 
60
                        set {
 
61
                                if (value.IsNullOrEmpty)
 
62
                                        value = FilePath.Null;
 
63
                                if (intermediateOutputDirectory == value)
 
64
                                        return;
 
65
                                intermediateOutputDirectory = value;
 
66
                        }
 
67
                }
 
68
 
49
69
                [ProjectPathItemProperty("OutputPath")]
50
70
                private FilePath outputDirectory = "." + Path.DirectorySeparatorChar;
51
71
                public virtual FilePath OutputDirectory {
115
135
 
116
136
                        ProjectConfiguration projectConf = conf as ProjectConfiguration;
117
137
 
 
138
                        intermediateOutputDirectory = projectConf.intermediateOutputDirectory;
118
139
                        outputDirectory = projectConf.outputDirectory;
119
140
                        debugMode = projectConf.debugMode;
120
141
                        pauseConsoleOutput = projectConf.pauseConsoleOutput;
129
150
                        runWithWarnings = projectConf.runWithWarnings;
130
151
                }
131
152
 
 
153
                public new Project ParentItem {
 
154
                        get { return (Project) base.ParentItem; }
 
155
                }
132
156
        }
133
157
 
134
158
}