Cosmos/source2/VSIP/MPF/9.0/Src/CSharp/ProjectOptions.cs
kudzu_cp 7003fe2c9e
2009-05-28 14:33:45 +00:00

85 lines
2.4 KiB
C#

/// Copyright (c) Microsoft Corporation. All rights reserved.
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.VisualStudio.Project
{
public class ProjectOptions : System.CodeDom.Compiler.CompilerParameters
{
public ModuleKindFlags ModuleKind { get; set; }
public bool EmitManifest { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public StringCollection DefinedPreprocessorSymbols { get; set; }
public string XmlDocFileName { get; set; }
public string RecursiveWildcard { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public StringCollection ReferencedModules { get; set; }
public string Win32Icon { get; set; }
public bool PdbOnly { get; set; }
public bool Optimize { get; set; }
public bool IncrementalCompile { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public int[] SuppressedWarnings { get; set; }
public bool CheckedArithmetic { get; set; }
public bool AllowUnsafeCode { get; set; }
public bool DisplayCommandLineHelp { get; set; }
public bool SuppressLogo { get; set; }
public long BaseAddress { get; set; }
public string BugReportFileName { get; set; }
/// <devdoc>must be an int if not null</devdoc>
public object CodePage { get; set; }
public bool EncodeOutputInUtf8 { get; set; }
public bool FullyQualifyPaths { get; set; }
public int FileAlignment { get; set; }
public bool NoStandardLibrary { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public StringCollection AdditionalSearchPaths { get; set; }
public bool HeuristicReferenceResolution { get; set; }
public string RootNamespace { get; set; }
public bool CompileAndExecute { get; set; }
/// <devdoc>must be an int if not null.</devdoc>
public object UserLocaleId { get; set; }
public PlatformType TargetPlatform { get; set; }
public string TargetPlatformLocation { get; set; }
public ProjectOptions()
{
EmitManifest = true;
ModuleKind = ModuleKindFlags.ConsoleApplication;
}
public virtual string GetOptionHelp()
{
return null;
}
}
}