NStub.CSharp.CSharpProjectGenerator.WriteDebugConfiguration C# (CSharp) Method

WriteDebugConfiguration() private method

Writes a Configuration element to the project file specifying the Debug configuration.
private WriteDebugConfiguration ( ) : void
return void
        private void WriteDebugConfiguration()
        {
            // Debug configuration
            this.xmlWriter.WriteStartElement("PropertyGroup");
            this.xmlWriter.WriteAttributeString("Condition", " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ");
            this.xmlWriter.WriteElementString("DebugSymbols", "true");
            this.xmlWriter.WriteElementString("DebugType", "full");
            this.xmlWriter.WriteElementString("Optimize", "false");
            this.xmlWriter.WriteElementString("OutputPath", @"bin\Debug\");
            this.xmlWriter.WriteElementString("DefineConstants", "DEBUG;TRACE");
            this.xmlWriter.WriteElementString("ErrorReport", "prompt");
            this.xmlWriter.WriteElementString("WarningLevel", "4");
            this.xmlWriter.WriteEndElement(); // PropertyGroup
        }