forked from dotnet/msbuild
/
Microsoft.Build.Utilities.Core.cs
435 lines (435 loc) · 39.5 KB
/
Microsoft.Build.Utilities.Core.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Build.Utilities
{
public partial class AssemblyFoldersFromConfigInfo
{
public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { }
public string DirectoryPath { get { throw null; } }
public System.Version TargetFrameworkVersion { get { throw null; } }
}
public partial class CommandLineBuilder
{
public CommandLineBuilder() { }
public CommandLineBuilder(bool quoteHyphensOnCommandLine) { }
public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { }
protected System.Text.StringBuilder CommandLine { get { throw null; } }
public int Length { get { throw null; } }
public void AppendFileNameIfNotNull(Microsoft.Build.Framework.ITaskItem fileItem) { }
public void AppendFileNameIfNotNull(string fileName) { }
public void AppendFileNamesIfNotNull(Microsoft.Build.Framework.ITaskItem[] fileItems, string delimiter) { }
public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { }
protected void AppendFileNameWithQuoting(string fileName) { }
protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { }
protected void AppendSpaceIfNotEmpty() { }
public void AppendSwitch(string switchName) { }
public void AppendSwitchIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem parameter) { }
public void AppendSwitchIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem[] parameters, string delimiter) { }
public void AppendSwitchIfNotNull(string switchName, string parameter) { }
public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem parameter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem[] parameters, string delimiter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { }
public void AppendTextUnquoted(string textToAppend) { }
protected void AppendTextWithQuoting(string textToAppend) { }
protected virtual bool IsQuotingRequired(string parameter) { throw null; }
public override string ToString() { throw null; }
protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { }
}
public enum DotNetFrameworkArchitecture
{
Bitness32 = 1,
Bitness64 = 2,
Current = 0,
}
public enum HostObjectInitializationStatus
{
NoActionReturnFailure = 3,
NoActionReturnSuccess = 2,
UseAlternateToolToExecute = 1,
UseHostObjectToExecute = 0,
}
public abstract partial class Logger : Microsoft.Build.Framework.ILogger
{
protected Logger() { }
public virtual string Parameters { get { throw null; } set { } }
public virtual Microsoft.Build.Framework.LoggerVerbosity Verbosity { get { throw null; } set { } }
public virtual string FormatErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs args) { throw null; }
public virtual string FormatWarningEvent(Microsoft.Build.Framework.BuildWarningEventArgs args) { throw null; }
public abstract void Initialize(Microsoft.Build.Framework.IEventSource eventSource);
public bool IsVerbosityAtLeast(Microsoft.Build.Framework.LoggerVerbosity checkVerbosity) { throw null; }
public virtual void Shutdown() { }
}
public enum MultipleVersionSupport
{
Allow = 0,
Error = 2,
Warning = 1,
}
public partial class MuxLogger : Microsoft.Build.Framework.ILogger, Microsoft.Build.Framework.INodeLogger
{
public MuxLogger() { }
public bool IncludeEvaluationMetaprojects { get { throw null; } set { } }
public bool IncludeEvaluationProfiles { get { throw null; } set { } }
public bool IncludeTaskInputs { get { throw null; } set { } }
public string Parameters { get { throw null; } set { } }
public Microsoft.Build.Framework.LoggerVerbosity Verbosity { get { throw null; } set { } }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource, int maxNodeCount) { }
public void RegisterLogger(int submissionId, Microsoft.Build.Framework.ILogger logger) { }
public void Shutdown() { }
public bool UnregisterLoggers(int submissionId) { throw null; }
}
public static partial class ProcessorArchitecture
{
public const string AMD64 = "AMD64";
public const string ARM = "ARM";
public const string ARM64 = "ARM64";
public const string IA64 = "IA64";
public const string MSIL = "MSIL";
public const string X86 = "x86";
public static string CurrentProcessArchitecture { get { throw null; } }
}
public partial class SDKManifest
{
public SDKManifest(string pathToSdk) { }
public System.Collections.Generic.IDictionary<string, string> AppxLocations { get { throw null; } }
public string CopyRedistToSubDirectory { get { throw null; } }
public string DependsOnSDK { get { throw null; } }
public string DisplayName { get { throw null; } }
public System.Collections.Generic.IDictionary<string, string> FrameworkIdentities { get { throw null; } }
public string FrameworkIdentity { get { throw null; } }
public string MaxOSVersionTested { get { throw null; } }
public string MaxPlatformVersion { get { throw null; } }
public string MinOSVersion { get { throw null; } }
public string MinVSVersion { get { throw null; } }
public string MoreInfo { get { throw null; } }
public string PlatformIdentity { get { throw null; } }
public string ProductFamilyName { get { throw null; } }
public bool ReadError { get { throw null; } }
public string ReadErrorMessage { get { throw null; } }
public Microsoft.Build.Utilities.SDKType SDKType { get { throw null; } }
public string SupportedArchitectures { get { throw null; } }
public string SupportPrefer32Bit { get { throw null; } }
public Microsoft.Build.Utilities.MultipleVersionSupport SupportsMultipleVersions { get { throw null; } }
public string TargetPlatform { get { throw null; } }
public string TargetPlatformMinVersion { get { throw null; } }
public string TargetPlatformVersion { get { throw null; } }
public static partial class Attributes
{
public const string APPX = "APPX";
public const string AppxLocation = "AppxLocation";
public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies";
public const string CopyRedist = "CopyRedist";
public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory";
public const string DependsOnSDK = "DependsOn";
public const string DisplayName = "DisplayName";
public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies";
public const string FrameworkIdentity = "FrameworkIdentity";
public const string MaxOSVersionTested = "MaxOSVersionTested";
public const string MaxPlatformVersion = "MaxPlatformVersion";
public const string MinOSVersion = "MinOSVersion";
public const string MinVSVersion = "MinVSVersion";
public const string MoreInfo = "MoreInfo";
public const string PlatformIdentity = "PlatformIdentity";
public const string ProductFamilyName = "ProductFamilyName";
public const string SDKType = "SDKType";
public const string SupportedArchitectures = "SupportedArchitectures";
public const string SupportPrefer32Bit = "SupportPrefer32Bit";
public const string SupportsMultipleVersions = "SupportsMultipleVersions";
public const string TargetedSDK = "TargetedSDKArchitecture";
public const string TargetedSDKConfiguration = "TargetedSDKConfiguration";
public const string TargetPlatform = "TargetPlatform";
public const string TargetPlatformMinVersion = "TargetPlatformMinVersion";
public const string TargetPlatformVersion = "TargetPlatformVersion";
}
}
public enum SDKType
{
External = 1,
Framework = 3,
Platform = 2,
Unspecified = 0,
}
public enum TargetDotNetFrameworkVersion
{
Latest = 9999,
Version11 = 0,
Version20 = 1,
Version30 = 2,
Version35 = 3,
Version40 = 4,
Version45 = 5,
Version451 = 6,
Version452 = 9,
Version46 = 7,
Version461 = 8,
Version462 = 10,
Version47 = 11,
Version471 = 12,
Version472 = 13,
Version48 = 14,
VersionLatest = 10,
}
public partial class TargetPlatformSDK : System.IEquatable<Microsoft.Build.Utilities.TargetPlatformSDK>
{
public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { }
public string DisplayName { get { throw null; } }
public System.Version MinOSVersion { get { throw null; } }
public System.Version MinVSVersion { get { throw null; } }
public string Path { get { throw null; } set { } }
public string TargetPlatformIdentifier { get { throw null; } }
public System.Version TargetPlatformVersion { get { throw null; } }
public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; }
public bool Equals(Microsoft.Build.Utilities.TargetPlatformSDK other) { throw null; }
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
}
public abstract partial class Task : Microsoft.Build.Framework.ITask
{
protected Task() { }
protected Task(System.Resources.ResourceManager taskResources) { }
protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { }
public Microsoft.Build.Framework.IBuildEngine BuildEngine { get { throw null; } set { } }
public Microsoft.Build.Framework.IBuildEngine2 BuildEngine2 { get { throw null; } }
public Microsoft.Build.Framework.IBuildEngine3 BuildEngine3 { get { throw null; } }
public Microsoft.Build.Framework.IBuildEngine4 BuildEngine4 { get { throw null; } }
public Microsoft.Build.Framework.IBuildEngine5 BuildEngine5 { get { throw null; } }
public Microsoft.Build.Framework.IBuildEngine6 BuildEngine6 { get { throw null; } }
public Microsoft.Build.Framework.IBuildEngine7 BuildEngine7 { get { throw null; } }
public Microsoft.Build.Framework.IBuildEngine8 BuildEngine8 { get { throw null; } }
protected string HelpKeywordPrefix { get { throw null; } set { } }
public Microsoft.Build.Framework.ITaskHost HostObject { get { throw null; } set { } }
public Microsoft.Build.Utilities.TaskLoggingHelper Log { get { throw null; } }
protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } }
public abstract bool Execute();
}
public sealed partial class TaskItem : Microsoft.Build.Framework.ITaskItem, Microsoft.Build.Framework.ITaskItem2
{
public TaskItem() { }
public TaskItem(Microsoft.Build.Framework.ITaskItem sourceItem) { }
public TaskItem(string itemSpec) { }
public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { }
public string ItemSpec { get { throw null; } set { } }
public int MetadataCount { get { throw null; } }
public System.Collections.ICollection MetadataNames { get { throw null; } }
string Microsoft.Build.Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } }
public System.Collections.IDictionary CloneCustomMetadata() { throw null; }
public void CopyMetadataTo(Microsoft.Build.Framework.ITaskItem destinationItem) { }
public string GetMetadata(string metadataName) { throw null; }
System.Collections.IDictionary Microsoft.Build.Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; }
string Microsoft.Build.Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; }
void Microsoft.Build.Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { }
public static explicit operator string (Microsoft.Build.Utilities.TaskItem taskItemToCast) { throw null; }
public void RemoveMetadata(string metadataName) { }
public void SetMetadata(string metadataName, string metadataValue) { }
public override string ToString() { throw null; }
}
public partial class TaskLoggingHelper
{
public TaskLoggingHelper(Microsoft.Build.Framework.IBuildEngine buildEngine, string taskName) { }
public TaskLoggingHelper(Microsoft.Build.Framework.ITask taskInstance) { }
protected Microsoft.Build.Framework.IBuildEngine BuildEngine { get { throw null; } }
public bool HasLoggedErrors { get { throw null; } }
public string HelpKeywordPrefix { get { throw null; } set { } }
protected string TaskName { get { throw null; } }
public System.Resources.ResourceManager TaskResources { get { throw null; } set { } }
public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { messageWithoutCodePrefix = default(string); throw null; }
public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; }
public virtual string FormatString(string unformatted, params object[] args) { throw null; }
public virtual string GetResourceMessage(string resourceName) { throw null; }
public void LogCommandLine(Microsoft.Build.Framework.MessageImportance importance, string commandLine) { }
public void LogCommandLine(string commandLine) { }
public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogError(string message, params object[] messageArgs) { }
public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogErrorFromException(System.Exception exception) { }
public void LogErrorFromException(System.Exception exception, bool showStackTrace) { }
public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { }
public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { }
public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { }
public void LogMessage(Microsoft.Build.Framework.MessageImportance importance, string message, params object[] messageArgs) { }
public void LogMessage(string message, params object[] messageArgs) { }
public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Microsoft.Build.Framework.MessageImportance importance, string message, params object[] messageArgs) { }
public void LogMessageFromResources(Microsoft.Build.Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { }
public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { }
public bool LogMessageFromText(string lineOfText, Microsoft.Build.Framework.MessageImportance messageImportance) { throw null; }
public bool LogMessagesFromFile(string fileName) { throw null; }
public bool LogMessagesFromFile(string fileName, Microsoft.Build.Framework.MessageImportance messageImportance) { throw null; }
public bool LogMessagesFromStream(System.IO.TextReader stream, Microsoft.Build.Framework.MessageImportance messageImportance) { throw null; }
public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary<string, string> properties) { }
public void LogWarning(string message, params object[] messageArgs) { }
public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogWarningFromException(System.Exception exception) { }
public void LogWarningFromException(System.Exception exception, bool showStackTrace) { }
public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
}
public static partial class ToolLocationHelper
{
public static string CurrentToolsVersion { get { throw null; } }
public static string PathToSystem { get { throw null; } }
public static void ClearSDKStaticCache() { }
public static System.Collections.Generic.IDictionary<string, string> FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary<string, string> extensionSdks) { throw null; }
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK> FilterTargetPlatformSdks(System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK> targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; }
public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; }
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.AssemblyFoldersFromConfigInfo> GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; }
public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; }
public static string GetDotNetFrameworkRootRegistryKey(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetDotNetFrameworkSdkInstallKeyValue(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetDotNetFrameworkSdkInstallKeyValue(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion) { throw null; }
public static string GetDotNetFrameworkSdkRootRegistryKey(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetDotNetFrameworkSdkRootRegistryKey(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion) { throw null; }
public static string GetDotNetFrameworkVersionFolderPrefix(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static System.Collections.Generic.IEnumerable<string> GetFoldersInVSInstalls(System.Version minVersion=null, System.Version maxVersion=null, string subFolder=null) { throw null; }
public static string GetFoldersInVSInstallsAsString(string minVersionString=null, string maxVersionString=null, string subFolder=null) { throw null; }
public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; }
public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; }
public static string GetPathToBuildTools(string toolsVersion) { throw null; }
public static string GetPathToBuildTools(string toolsVersion, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; }
public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static string GetPathToDotNetFramework(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFramework(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static string GetPathToDotNetFrameworkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFrameworkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static string GetPathToDotNetFrameworkReferenceAssemblies(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFrameworkSdk() { throw null; }
public static string GetPathToDotNetFrameworkSdk(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFrameworkSdk(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion) { throw null; }
public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; }
public static string GetPathToDotNetFrameworkSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFrameworkSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static string GetPathToDotNetFrameworkSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion) { throw null; }
public static string GetPathToDotNetFrameworkSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; }
public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; }
public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; }
public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; }
public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; }
public static string GetPathToSystemFile(string fileName) { throw null; }
[System.ObsoleteAttribute("Consider using GetPlatformSDKLocation instead")]
public static string GetPathToWindowsSdk(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion) { throw null; }
[System.ObsoleteAttribute("Consider using GetPlatformSDKLocationFile instead")]
public static string GetPathToWindowsSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion) { throw null; }
[System.ObsoleteAttribute("Consider using GetPlatformSDKLocationFile instead")]
public static string GetPathToWindowsSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture) { throw null; }
public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; }
public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; }
public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; }
public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; }
public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; }
public static System.Collections.Generic.IDictionary<string, string> GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static System.Collections.Generic.IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static System.Collections.Generic.IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static System.Collections.Generic.IDictionary<string, System.Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static System.Collections.Generic.IDictionary<string, System.Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static System.Collections.Generic.IDictionary<string, System.Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; }
public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; }
public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; }
public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; }
public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; }
public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; }
public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; }
public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; }
public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; }
public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; }
public static System.Collections.Generic.IEnumerable<string> GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; }
public static System.Collections.Generic.IEnumerable<string> GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; }
public static string GetProgramFilesReferenceAssemblyRoot() { throw null; }
public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot=null) { throw null; }
public static System.Collections.Generic.IList<string> GetSDKDesignTimeFolders(string sdkRoot) { throw null; }
public static System.Collections.Generic.IList<string> GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; }
public static System.Collections.Generic.IList<string> GetSDKRedistFolders(string sdkRoot) { throw null; }
public static System.Collections.Generic.IList<string> GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; }
public static System.Collections.Generic.IList<string> GetSDKReferenceFolders(string sdkRoot) { throw null; }
public static System.Collections.Generic.IList<string> GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; }
public static System.Collections.Generic.IList<string> GetSupportedTargetFrameworks() { throw null; }
public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; }
public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; }
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK> GetTargetPlatformSdks() { throw null; }
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK> GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; }
public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; }
}
public abstract partial class ToolTask : Microsoft.Build.Utilities.Task, Microsoft.Build.Framework.ICancelableTask, Microsoft.Build.Framework.ITask
{
protected ToolTask() { }
protected ToolTask(System.Resources.ResourceManager taskResources) { }
protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { }
public bool EchoOff { get { throw null; } set { } }
[System.ObsoleteAttribute("Use EnvironmentVariables property")]
protected virtual System.Collections.Generic.Dictionary<string, string> EnvironmentOverride { get { throw null; } }
public string[] EnvironmentVariables { get { throw null; } set { } }
[Microsoft.Build.Framework.OutputAttribute]
public int ExitCode { get { throw null; } }
protected virtual bool HasLoggedErrors { get { throw null; } }
public bool LogStandardErrorAsError { get { throw null; } set { } }
protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } }
protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } }
public string StandardErrorImportance { get { throw null; } set { } }
protected Microsoft.Build.Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } }
protected virtual Microsoft.Build.Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } }
protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } }
public string StandardOutputImportance { get { throw null; } set { } }
protected Microsoft.Build.Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } }
protected virtual Microsoft.Build.Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } }
protected int TaskProcessTerminationTimeout { get { throw null; } set { } }
public virtual int Timeout { get { throw null; } set { } }
protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } }
public virtual string ToolExe { get { throw null; } set { } }
protected abstract string ToolName { get; }
public string ToolPath { get { throw null; } set { } }
public bool UseCommandProcessor { get { throw null; } set { } }
public bool YieldDuringToolExecution { get { throw null; } set { } }
protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; }
protected virtual bool CallHostObjectToExecute() { throw null; }
public virtual void Cancel() { }
protected void DeleteTempFile(string fileName) { }
public override bool Execute() { throw null; }
protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; }
protected virtual string GenerateCommandLineCommands() { throw null; }
protected abstract string GenerateFullPathToTool();
protected virtual string GenerateResponseFileCommands() { throw null; }
protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; }
protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; }
protected virtual string GetWorkingDirectory() { throw null; }
protected virtual bool HandleTaskExecutionErrors() { throw null; }
protected virtual Microsoft.Build.Utilities.HostObjectInitializationStatus InitializeHostObject() { throw null; }
protected virtual void LogEventsFromTextOutput(string singleLine, Microsoft.Build.Framework.MessageImportance messageImportance) { }
protected virtual void LogPathToTool(string toolName, string pathToTool) { }
protected virtual void LogToolCommand(string message) { }
protected virtual void ProcessStarted() { }
protected virtual string ResponseFileEscape(string responseString) { throw null; }
protected virtual bool SkipTaskExecution() { throw null; }
protected internal virtual bool ValidateParameters() { throw null; }
}
public static partial class TrackedDependencies
{
public static Microsoft.Build.Framework.ITaskItem[] ExpandWildcards(Microsoft.Build.Framework.ITaskItem[] expand) { throw null; }
}
public enum VisualStudioVersion
{
Version100 = 0,
Version110 = 1,
Version120 = 2,
Version140 = 3,
Version150 = 4,
VersionLatest = 4,
}
}