OLD | NEW |
| (Empty) |
1 /// Copyright (c) Microsoft Corporation. All rights reserved. | |
2 | |
3 using System.Collections.Specialized; | |
4 using System.Diagnostics.CodeAnalysis; | |
5 | |
6 namespace Microsoft.VisualStudio.Project | |
7 { | |
8 public class ProjectOptions : System.CodeDom.Compiler.CompilerParameters | |
9 { | |
10 public ModuleKindFlags ModuleKind { get; set; } | |
11 | |
12 public bool EmitManifest { get; set; } | |
13 | |
14 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usag
e", "CA2227:CollectionPropertiesShouldBeReadOnly")] | |
15 public StringCollection DefinedPreprocessorSymbols { get; set; } | |
16 | |
17 public string XmlDocFileName { get; set; } | |
18 | |
19 public string RecursiveWildcard { get; set; } | |
20 | |
21 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usag
e", "CA2227:CollectionPropertiesShouldBeReadOnly")] | |
22 public StringCollection ReferencedModules { get; set; } | |
23 | |
24 public string Win32Icon { get; set; } | |
25 | |
26 public bool PdbOnly { get; set; } | |
27 | |
28 public bool Optimize { get; set; } | |
29 | |
30 public bool IncrementalCompile { get; set; } | |
31 | |
32 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Perf
ormance", "CA1819:PropertiesShouldNotReturnArrays")] | |
33 public int[] SuppressedWarnings { get; set; } | |
34 | |
35 public bool CheckedArithmetic { get; set; } | |
36 | |
37 public bool AllowUnsafeCode { get; set; } | |
38 | |
39 public bool DisplayCommandLineHelp { get; set; } | |
40 | |
41 public bool SuppressLogo { get; set; } | |
42 | |
43 public long BaseAddress { get; set; } | |
44 | |
45 public string BugReportFileName { get; set; } | |
46 | |
47 /// <devdoc>must be an int if not null</devdoc> | |
48 public object CodePage { get; set; } | |
49 | |
50 public bool EncodeOutputInUtf8 { get; set; } | |
51 | |
52 public bool FullyQualifyPaths { get; set; } | |
53 | |
54 public int FileAlignment { get; set; } | |
55 | |
56 public bool NoStandardLibrary { get; set; } | |
57 | |
58 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usag
e", "CA2227:CollectionPropertiesShouldBeReadOnly")] | |
59 public StringCollection AdditionalSearchPaths { get; set; } | |
60 | |
61 public bool HeuristicReferenceResolution { get; set; } | |
62 | |
63 public string RootNamespace { get; set; } | |
64 | |
65 public bool CompileAndExecute { get; set; } | |
66 | |
67 /// <devdoc>must be an int if not null.</devdoc> | |
68 public object UserLocaleId { get; set; } | |
69 | |
70 public PlatformType TargetPlatform { get; set; } | |
71 | |
72 public string TargetPlatformLocation { get; set; } | |
73 | |
74 public ProjectOptions() | |
75 { | |
76 EmitManifest = true; | |
77 ModuleKind = ModuleKindFlags.ConsoleApplication; | |
78 } | |
79 | |
80 public virtual string GetOptionHelp() | |
81 { | |
82 return null; | |
83 } | |
84 } | |
85 } | |
OLD | NEW |