~ubuntu-branches/ubuntu/feisty/nant/feisty

« back to all changes in this revision

Viewing changes to src/NAnt.VSNet/ConfigurationSettings.cs

  • Committer: Bazaar Package Importer
  • Author(s): Dave Beckett
  • Date: 2006-06-12 23:30:36 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060612233036-a1uwh0949z0218ep
Tags: 0.84+0.85-rc4-1
* New upstream release
* Acknowledge NMU (Closes: #372588)
* Standards-Version 3.7.2
* Update to latest CLI policy package split.  Build-Depends-Indep: on
  cli-common-dev, libmono-winforms1.0-cil, libmono-winforms2.0-cil and
  mono-gmcs to get 1.0 and 2.0 packages
* Removed patches no longer needed:
  - 01-AssemblyInfoTask.cs.patch
  - 02-ScriptTask.cs.patch
  - 03-XmlResultFormatter.cs.patch
  - 04-SourceControl.patch
  - 05-ExceptionTest.cs

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
                ExtraOutputFiles[xmlDocBuildFile] = Path.GetFileName(xmlDocBuildFile);
72
72
            }
73
73
 
 
74
            // determine whether we need to register project output for use with
 
75
            // COM components
 
76
            _registerForComInterop = string.Compare(elemConfig.GetAttribute("RegisterForComInterop"), 
 
77
                "true", true, CultureInfo.InvariantCulture) == 0;
 
78
 
74
79
            SolutionTask.Log(Level.Debug, "Project: {0} Relative Output Path: {1} Output Path: {2} Documentation Path: {3}", 
75
80
                Project.Name, _relativeOutputDir, _outputDir.FullName, documentationFile);
76
81
 
118
123
                            // hexadecimal, or octal number
119
124
                            //
120
125
                            // so use hexadecimal as all compiler support this
121
 
                            int intvalue = Convert.ToInt32(value, CultureInfo.InvariantCulture);
 
126
                            uint intvalue = Convert.ToUInt32(value, CultureInfo.InvariantCulture);
122
127
                            value = "0x" + intvalue.ToString("x", CultureInfo.InvariantCulture);
123
128
                            break;
124
129
                        case "DefineConstants":
190
195
            get { return _name; }
191
196
        }
192
197
 
 
198
        /// <summary>
 
199
        /// Gets a value indicating whether to register the project output for
 
200
        /// use with COM components.
 
201
        /// </summary>
 
202
        /// <value>
 
203
        /// <see langword="true" /> if the project output should be registered
 
204
        /// for use with COM components; otherwise, <see langword="false" />.
 
205
        /// </value>
 
206
        public bool RegisterForComInterop {
 
207
            get { return _registerForComInterop; }
 
208
        }
 
209
 
193
210
        #endregion Public Instance Properties
194
211
 
195
212
        #region Private Instance Fields
198
215
        private readonly string _relativeOutputDir;
199
216
        private readonly DirectoryInfo _outputDir;
200
217
        private readonly string _name;
 
218
        private readonly bool _registerForComInterop;
201
219
 
202
220
        #endregion Private Instance Fields
203
221
    }