OLD | NEW |
| (Empty) |
1 /// Copyright (c) Microsoft Corporation. All rights reserved. | |
2 | |
3 using System.Diagnostics.CodeAnalysis; | |
4 | |
5 namespace Microsoft.VisualStudio.Project | |
6 { | |
7 /// <summary> | |
8 /// Defines the constant strings for various msbuild targets | |
9 /// </summary> | |
10 [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCor
rectly", MessageId = "Ms")] | |
11 public static class MsBuildTarget | |
12 { | |
13 public const string ResolveProjectReferences = "ResolveProjectRe
ferences"; | |
14 public const string ResolveAssemblyReferences = "ResolveAssembly
References"; | |
15 public const string ResolveComReferences = "ResolveComReferences
"; | |
16 public const string Build = "Build"; | |
17 public const string Rebuild = "ReBuild"; | |
18 public const string Clean = "Clean"; | |
19 } | |
20 | |
21 [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCor
rectly", MessageId = "Ms")] | |
22 public static class MsBuildGeneratedItemType | |
23 { | |
24 public const string ReferenceCopyLocalPaths = "ReferenceCopyLoca
lPaths"; | |
25 public const string ComReferenceWrappers = "ComReferenceWrappers
"; | |
26 } | |
27 | |
28 /// <summary> | |
29 /// Defines the constant strings used with project files. | |
30 /// </summary> | |
31 [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCor
rectly", MessageId = "COM")] | |
32 public static class ProjectFileConstants | |
33 { | |
34 public const string Include = "Include"; | |
35 public const string Name = "Name"; | |
36 public const string HintPath = "HintPath"; | |
37 public const string AssemblyName = "AssemblyName"; | |
38 public const string FinalOutputPath = "FinalOutputPath"; | |
39 public const string Project = "Project"; | |
40 public const string LinkedIntoProjectAt = "LinkedIntoProjectAt"; | |
41 public const string TypeGuid = "TypeGuid"; | |
42 public const string InstanceGuid = "InstanceGuid"; | |
43 public const string Private = "Private"; | |
44 public const string ProjectReference = "ProjectReference"; | |
45 public const string Reference = "Reference"; | |
46 public const string WebReference = "WebReference"; | |
47 public const string WebReferenceFolder = "WebReferenceFolder"; | |
48 public const string Folder = "Folder"; | |
49 public const string Content = "Content"; | |
50 public const string EmbeddedResource = "EmbeddedResource"; | |
51 public const string RootNamespace = "RootNamespace"; | |
52 public const string OutputType = "OutputType"; | |
53 [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShould
BeCasedCorrectly", MessageId = "SubType")] | |
54 public const string SubType = "SubType"; | |
55 public const string DependentUpon = "DependentUpon"; | |
56 public const string Compile = "Compile"; | |
57 public const string ReferencePath = "ReferencePath"; | |
58 public const string ResolvedProjectReferencePaths = "ResolvedPro
jectReferencePaths"; | |
59 public const string Configuration = "Configuration"; | |
60 public const string Platform = "Platform"; | |
61 public const string AvailablePlatforms = "AvailablePlatforms"; | |
62 public const string BuildVerbosity = "BuildVerbosity"; | |
63 public const string Template = "Template"; | |
64 [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShould
BeCasedCorrectly", MessageId = "SubProject")] | |
65 public const string SubProject = "SubProject"; | |
66 public const string BuildAction = "BuildAction"; | |
67 [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBe
CasedCorrectly", MessageId = "COM")] | |
68 public const string COMReference = "COMReference"; | |
69 public const string Guid = "Guid"; | |
70 public const string VersionMajor = "VersionMajor"; | |
71 public const string VersionMinor = "VersionMinor"; | |
72 [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBe
SpelledCorrectly", MessageId = "Lcid")] | |
73 public const string Lcid = "Lcid"; | |
74 public const string Isolated = "Isolated"; | |
75 public const string WrapperTool = "WrapperTool"; | |
76 public const string BuildingInsideVisualStudio = "BuildingInside
VisualStudio"; | |
77 [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBe
SpelledCorrectly", MessageId = "Scc")] | |
78 public const string SccProjectName = "SccProjectName"; | |
79 [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBe
SpelledCorrectly", MessageId = "Scc")] | |
80 public const string SccLocalPath = "SccLocalPath"; | |
81 [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBe
SpelledCorrectly", MessageId = "Scc")] | |
82 public const string SccAuxPath = "SccAuxPath"; | |
83 [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBe
SpelledCorrectly", MessageId = "Scc")] | |
84 public const string SccProvider = "SccProvider"; | |
85 public const string ProjectGuid = "ProjectGuid"; | |
86 public const string ProjectTypeGuids = "ProjectTypeGuids"; | |
87 public const string Generator = "Generator"; | |
88 public const string CustomToolNamespace = "CustomToolNamespace"; | |
89 public const string FlavorProperties = "FlavorProperties"; | |
90 public const string VisualStudio = "VisualStudio"; | |
91 public const string User = "User"; | |
92 } | |
93 | |
94 public static class ProjectFileAttributeValue | |
95 { | |
96 public const string Code = "Code"; | |
97 public const string Form = "Form"; | |
98 public const string Component = "Component"; | |
99 public const string Designer = "Designer"; | |
100 public const string UserControl = "UserControl"; | |
101 } | |
102 | |
103 internal static class ProjectFileValues | |
104 { | |
105 internal const string AnyCPU = "AnyCPU"; | |
106 } | |
107 | |
108 public enum WrapperToolAttributeValue | |
109 { | |
110 Primary, | |
111 TlbImp | |
112 } | |
113 | |
114 /// <summary> | |
115 /// A set of constants that specify the default sort order for different
types of hierarchy nodes. | |
116 /// </summary> | |
117 public static class DefaultSortOrderNode | |
118 { | |
119 public const int HierarchyNode = 1000; | |
120 public const int FolderNode = 500; | |
121 public const int NestedProjectNode = 200; | |
122 public const int ReferenceContainerNode = 300; | |
123 } | |
124 | |
125 } | |
OLD | NEW |