This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Core.cs
488 lines (488 loc) · 13.5 KB
/
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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
_CheckForUnsupportedTargetFramework
_CheckForUnsupportedTargetPlatformIdentifier
_CollectTargetFrameworkForTelemetry
_CheckForUnsupportedNETCoreVersion
_CheckForUnsupportedCppNETCoreVersion
_CheckForUnsupportedNETStandardVersion
_CheckForUnsupportedTargetFrameworkAndFeatureCombination
_CheckForSupportedOSPlatformVersionHigherThanTargetPlatformVersion
_NormalizeTargetPlatformVersion
_CheckForInvalidTargetPlatformVersion
_CheckBrowserWorkloadNeededButNotAvailable
_ErrorDisabledWorkload
_ErrorDualWasmThreadProps
GetSuggestedWorkloads
_CheckForMissingWorkload
_GetRequiredWorkloads
_CheckForUnsupportedAppHostUsage
_CheckForUnsupportedHostingUsage
_CheckAndUnsetUnsupportedPrefer32Bit
_CheckForMismatchingPlatform
_CheckForLanguageAndFeatureCombinationSupport
_CheckForNETCoreSdkIsPreview
AdjustDefaultPlatformTargetForNetFrameworkExeWithNoNativeCopyLocalItems
_CheckForEolTargetFrameworks
GenerateTargetPlatformDefineConstants
GenerateNETCompatibleDefineConstants
GeneratePlatformCompatibleDefineConstants
AddImplicitDefineConstants
CreateManifestResourceNames
ResolveCodeAnalysisRuleSet
XamlPreCompile
ShimReferencePathsWhenCommonTargetsDoesNotUnderstandReferenceAssemblies
_BeforeVBCSCoreCompile
_ComputeSkipAnalyzers
_TouchLastBuildWithSkipAnalyzers
GenerateMSBuildEditorConfigFile
GenerateMSBuildEditorConfigFileShouldRun
GenerateMSBuildEditorConfigFileCore
InitializeSourceRootMappedPaths
_InitializeSourceRootMappedPathsFromSourceControl
_SetPathMapFromSourceRoots
CopyAdditionalFiles
CreateCompilerGeneratedFilesOutputPath
CoreCompile
ResolvePackageDependenciesDesignTime
CollectSDKReferencesDesignTime
CollectResolvedSDKReferencesDesignTime
ResolveFrameworkReferences
ResolveProjectReferencesDesignTime2
ResolveFrameworkReferencesDesignTime
CollectPackageReferences
CollectSuggestedWorkloads
_CheckCompileDesignTimePrerequisite
CollectAnalyzersDesignTime
CollectResolvedCompilationReferencesDesignTime
CollectUpToDateCheckInputDesignTime
CollectUpToDateCheckOutputDesignTime
CollectUpToDateCheckBuiltDesignTime
CompileDesignTime
_FixVCLibs120References
_AddVCLibs140UniversalCrtDebugReference
InitializeSourceControlInformation
_AddOutputPathToGlobalPropertiesToRemove
_CheckForInvalidConfigurationAndPlatform
Build
BeforeBuild
AfterBuild
CoreBuild
Rebuild
BeforeRebuild
AfterRebuild
BuildGenerateSources
BuildGenerateSourcesTraverse
BuildCompile
BuildCompileTraverse
BuildLink
BuildLinkTraverse
CopyRunEnvironmentFiles
Run
BuildOnlySettings
PrepareForBuild
GetFrameworkPaths
GetReferenceAssemblyPaths
GetTargetFrameworkMoniker
GetTargetFrameworkMonikerDisplayName
GetTargetFrameworkDirectories
AssignLinkMetadata
PreBuildEvent
UnmanagedUnregistration
GetTargetFrameworkVersion
ResolveReferences
BeforeResolveReferences
AfterResolveReferences
AssignProjectConfiguration
_SplitProjectReferencesByFileExistence
_GetProjectReferencePlatformProperties
_GetProjectReferenceTargetFrameworkProperties
GetTargetFrameworks
GetTargetFrameworksWithPlatformForSingleTargetFramework
GetTargetFrameworkProperties
PrepareProjectReferences
ResolveProjectReferences
ResolveProjectReferencesDesignTime
ExpandSDKReferencesDesignTime
GetTargetPath
GetTargetPathWithTargetPlatformMoniker
GetNativeManifest
ResolveNativeReferences
ResolveAssemblyReferences
FindReferenceAssembliesForReferences
GenerateBindingRedirects
GenerateBindingRedirectsUpdateAppConfig
GetInstalledSDKLocations
ResolveSDKReferences
ResolveSDKReferencesDesignTime
FindInvalidProjectReferences
GetReferenceTargetPlatformMonikers
ExpandSDKReferences
ExportWindowsMDFile
ResolveAssemblyReferencesDesignTime
DesignTimeResolveAssemblyReferences
ResolveComReferences
ResolveComReferencesDesignTime
PrepareResources
PrepareResourceNames
AssignTargetPaths
GetItemTargetPaths
SplitResourcesByCulture
CreateCustomManifestResourceNames
ResGen
BeforeResGen
AfterResGen
CoreResGen
CompileLicxFiles
ResolveKeySource
Compile
_GenerateCompileInputs
GenerateTargetFrameworkMonikerAttribute
GenerateAdditionalSources
BeforeCompile
AfterCompile
_TimeStampBeforeCompile
_GenerateSuggestedBindingRedirectsCache
_GenerateCompileDependencyCache
_TimeStampAfterCompile
_ComputeNonExistentFileProperty
GenerateSerializationAssemblies
CreateSatelliteAssemblies
_GenerateSatelliteAssemblyInputs
GenerateSatelliteAssemblies
ComputeIntermediateSatelliteAssemblies
SetWin32ManifestProperties
_SetExternalWin32ManifestProperties
_SetEmbeddedWin32ManifestProperties
_GenerateResolvedDeploymentManifestEntryPoint
GenerateManifests
GenerateApplicationManifest
_DeploymentSetClickOnceVersions
_DeploymentGenerateLauncher
_DeploymentComputeNativeManifestInfo
_DeploymentComputeClickOnceManifestInfo
_DeploymentGenerateTrustInfo
GenerateDeploymentManifest
PrepareForRun
CopyFilesToOutputDirectory
_CopyFilesMarkedCopyLocal
_CopySourceItemsToOutputDirectory
_PopulateCommonStateForGetCopyToOutputDirectoryItems
_GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences
_GetCopyToOutputDirectoryItemsFromThisProject
GetCopyToOutputDirectoryItems
GetCopyToPublishDirectoryItems
_CopyOutOfDateSourceItemsToOutputDirectory
_CopyOutOfDateSourceItemsToOutputDirectoryAlways
_CopyAppConfigFile
_CopyManifestFiles
_CheckForCompileOutputs
_SGenCheckForOutputs
UnmanagedRegistration
IncrementalClean
_CleanGetCurrentAndPriorFileWrites
Clean
BeforeClean
AfterClean
CleanReferencedProjects
CoreClean
_CleanRecordFileWrites
CleanPublishFolder
PostBuildEvent
Publish
_DeploymentUnpublishable
SetGenerateManifests
PublishOnly
BeforePublish
AfterPublish
PublishBuild
_CopyFilesToPublishFolder
_DeploymentGenerateBootstrapper
_DeploymentSignClickOnceDeployment
AllProjectOutputGroups
BuiltProjectOutputGroup
DebugSymbolsProjectOutputGroup
DocumentationProjectOutputGroup
SatelliteDllsProjectOutputGroup
SourceFilesProjectOutputGroup
GetCompile
ContentFilesProjectOutputGroup
SGenFilesOutputGroup
GetResolvedSDKReferences
CollectReferencedNuGetPackages
GenerateSupportedTargetFrameworkAlias
PriFilesOutputGroup
SDKRedistOutputGroup
AllProjectOutputGroupsDependencies
BuiltProjectOutputGroupDependencies
DebugSymbolsProjectOutputGroupDependencies
SatelliteDllsProjectOutputGroupDependencies
DocumentationProjectOutputGroupDependencies
SGenFilesOutputGroupDependencies
ReferenceCopyLocalPathsOutputGroup
DesignerRuntimeImplementationProjectOutputGroup
GetPotentialEditorConfigFiles
SetCABuildNativeEnvironmentVariables
RunCodeAnalysis
RunNativeCodeAnalysis
RunSelectedFileNativeCodeAnalysis
RunMergeNativeCodeAnalysis
ImplicitlyExpandDesignTimeFacades
GetWinFXPath
DesignTimeMarkupCompilation
PrepareResourcesForSatelliteAssemblies
_AfterCompileWinFXInternal
AfterCompileWinFX
AfterMarkupCompilePass1
AfterMarkupCompilePass2
MarkupCompilePass1
MarkupCompilePass2
_CompileTemporaryAssembly
MarkupCompilePass2ForMainAssembly
GenerateTemporaryTargetAssembly
CleanupTemporaryTargetAssembly
AddIntermediateAssemblyToReferenceList
SatelliteOnlyMarkupCompilePass2
HostInBrowserValidation
SplashScreenValidation
ResignApplicationManifest
SignDeploymentManifest
FileClassification
MainResourcesGeneration
SatelliteResourceGeneration
GenerateResourceWithCultureItem
CheckUid
UpdateUid
RemoveUid
MergeLocalizationDirectives
AssignWinFXEmbeddedResource
EntityDeploy
EntityDeploySplit
EntityDeployNonEmbeddedResources
EntityDeployEmbeddedResources
EntityClean
EntityDeploySetLogicalNames
DesignTimeXamlMarkupCompilation
InProcessXamlMarkupCompilePass1
CleanInProcessXamlGeneratedFiles
XamlMarkupCompileReadGeneratedFileList
XamlMarkupCompilePass1
XamlMarkupCompileAddFilesGenerated
XamlMarkupCompileReadPass2Flag
XamlTemporaryAssemblyGeneration
CompileTemporaryAssembly
XamlMarkupCompilePass2
XamlMarkupCompileAddExtensionFilesGenerated
GetCopyToOutputDirectoryXamlAppDefs
ExpressionBuildExtension
ValidationExtension
GenerateCompiledExpressionsTempFile
AddDeferredValidationErrorsFileToFileWrites
ReportValidationBuildExtensionErrors
DeferredValidation
ResolveTestReferences
CleanAppxPackage
GetPackagingOutputs
Restore
GenerateRestoreGraphFile
CollectCentralPackageVersions
CollectPackageDownloads
CollectFrameworkReferences
_LoadRestoreGraphEntryPoints
_FilterRestoreGraphProjectInputItems
_GenerateRestoreGraph
_GenerateRestoreGraphProjectEntry
_GenerateRestoreSpecs
_GenerateDotnetCliToolReferenceSpecs
_GetProjectJsonPath
_GetRestoreProjectStyle
EnableIntermediateOutputPathMismatchWarning
_GetRestoreTargetFrameworksOutput
_GetRestoreTargetFrameworksAsItems
_GetRestoreSettings
_GetRestoreSettingsCurrentProject
_GetRestoreSettingsAllFrameworks
_GetRestoreSettingsPerFramework
_GenerateRestoreProjectSpec
_GenerateProjectRestoreGraph
_GenerateRestoreDependencies
_GenerateProjectRestoreGraphAllFrameworks
_GenerateProjectRestoreGraphCurrentProject
_GenerateProjectRestoreGraphPerFramework
_GenerateRestoreProjectPathItemsCurrentProject
_GenerateRestoreProjectPathItemsPerFramework
_GenerateRestoreProjectPathItems
_GenerateRestoreProjectPathItemsAllFrameworks
_GenerateRestoreProjectPathWalk
_GetAllRestoreProjectPathItems
_GetRestoreSettingsOverrides
_GetRestorePackagesPathOverride
_GetRestoreRepositoryPathOverride
_GetRestoreSourcesOverride
_GetRestoreFallbackFoldersOverride
_GetRestoreTargetFrameworkOverride
_GetTargetFrameworkOverrides
_IsProjectRestoreSupported
DesktopBridgeCopyLocalOutputGroup
DesktopBridgeComFilesOutputGroup
_WapComputeNonExistentFileProperty
DesktopBridgePublishItemsOutputGroup
_CheckForGenerateAppxPackageOnBuild
GetDeployableContentReferenceOutputs
DesktopBridgeFrameworkSDKRegistrationOutputGroup
DockerResolveAppType
DockerUpdateComposeVsGeneratedFiles
DockerResolveTargetFramework
DockerComposeBuild
DockerPackageService
ImplicitlyExpandNETStandardFacades
_RemoveZipFileSuggestedRedirect
_CleanMdbFiles
_CleanIsIncrementalFile
_CollectAndroidTelemetryProperties
_CollectIOSTelemetryProperties
_WriteTelemetryProperties
DeferredBuild
PreXsdCodeGen
XsdCodeGen
XsdResolveReferencePath
CleanXsdCodeGen
_SetTargetFrameworkMonikerAttribute
ResolvePackageDependenciesForBuild
RunResolvePackageDependencies
_ResolveCompilerVersion
ResolvePackageAssets
RunProduceContentAssets
ResolveLockFileReferences
IncludeTransitiveProjectReferences
ResolveLockFileAnalyzers
ResolveLockFileCopyLocalFiles
EnsureNETCoreAppRuntime
UpdateAspNetToFrameworkReference
ApplyImplicitVersions
CheckForImplicitPackageReferenceOverrides
CheckForDuplicateItems
_CheckForTransitiveWindowsDesktopDependencies
WarnForExplicitVersions
_CheckForFailedSDKResolution
_WarnWhenUsingNET6AndVSPriorTo17
_WarnWhenUsingNET7AndVSPriorTo174
_CheckForInvalidWindowsDesktopTargetingConfiguration
_CheckForUnnecessaryWindowsDesktopSDK
AddWindowsSdkKnownFrameworkReferences
ProcessFrameworkReferences
AddTransitiveFrameworkReferences
ResolveTargetingPackAssets
IncludeTargetingPackReference
ResolveRuntimePackAssets
_GetUserSecretsAssemblyAttribute
_ComputePackageReferencePublish
_DefaultMicrosoftNETPlatformLibrary
_CheckForBuildWithNoBuild
GenerateBuildDependencyFile
_GenerateRuntimeConfigurationFilesInputCache
GenerateBuildRuntimeConfigurationFiles
AddRuntimeConfigFileToBuiltProjectOutputGroupOutput
AddDepsJsonAndRuntimeConfigToCopyItemsForReferencingProjects
AddDepsJsonAndRuntimeConfigToPublishItemsForReferencingProjects
_SdkBeforeClean
_SdkBeforeRebuild
_CreateAppHost
_ChooseAppHost
_GetAppHostPaths
_GenerateClsidMap
_CreateComHost
_GenerateRegFreeComManifest
_GetComHostPaths
_GetIjwHostPaths
_ComputeNETCoreBuildOutputFiles
_ComputeReferenceAssemblies
_ComputeUserRuntimeAssemblies
CoreGenerateSatelliteAssemblies
_GetAssemblyInfoFromTemplateFile
GetAllRuntimeIdentifiers
_BlockWinMDsOnUnsupportedTFMs
ValidateExecutableReferences
ValidateCommandLineProperties
_GenerateDesignerDepsFile
_GenerateDesignerRuntimeConfigFile
_GatherDesignerShadowCopyFiles
GenerateAssemblyInfo
AddSourceRevisionToInformationalVersion
GetAssemblyAttributes
CreateGeneratedAssemblyInfoInputsCacheFile
CoreGenerateAssemblyInfo
GetAssemblyVersion
GenerateGlobalUsings
GenerateSupportedRuntime
_WriteAppConfigWithSupportedRuntime
ComposeStore
StoreWorkerMain
StoreWorkerMapper
StoreResolver
StoreWorkerPerformWork
StoreFinalizer
_CopyResolvedOptimizedFiles
PrepareForComposeStore
PrepforRestoreForComposeStore
RestoreForComposeStore
ComputeAndCopyFilesToStoreDirectory
CopyFilesToStoreDirectory
_CopyResolvedUnOptimizedFiles
_ComputeResolvedFilesToStoreTypes
_SplitResolvedFiles
_GetResolvedFilesToStore
ComputeFilesToStore
PrepRestoreForStoreProjects
PrepOptimizer
_RunOptimizer
RunCrossGen
_InitializeBasicProps
_GetCrossgenProps
_SetupStageForCrossgen
_RestoreCrossgen
CreateReadyToRunImages
_PrepareForReadyToRunCompilation
ResolveReadyToRunCompilers
_CreateR2RImages
_CreateR2RSymbols
_CheckForObsoleteDotNetCliToolReferences
_PublishBuildAlternative
_PublishNoBuildAlternative
_PreventProjectReferencesFromBuilding
PrepareForPublish
ComputeAndCopyFilesToPublishDirectory
CopyFilesToPublishDirectory
_IncrementalCleanPublishDirectory
_GetCurrentAndPriorPublishFileWrites
_CopyResolvedFilesToPublishPreserveNewest
_CopyResolvedFilesToPublishAlways
_ComputeResolvedFilesToPublishTypes
ComputeFilesToPublish
ComputeResolvedFilesToPublishList
_ResolveCopyLocalAssetsForPublish
_ParseTargetManifestFiles
_FilterSatelliteResourcesForPublish
_ComputeResolvedCopyLocalPublishAssets
_ComputeCopyToPublishDirectoryItems
DefaultCopyToPublishDirectoryMetadata
_ComputeAssembliesToPostprocessOnPublish
_ComputeManagedRuntimePackAssemblies
_ComputeUseBuildDependencyFile
_ComputeFilesToBundle
PrepareForBundle
GenerateSingleFileBundle
GeneratePublishDependencyFile
ComputeEmbeddedApphostPaths
ComputeFilesCopiedToPublishDir
PublishItemsOutputGroup
RunResolvePublishAssemblies
_CheckForLanguageAndPublishFeatureCombinationSupport
PackTool
GenerateToolsSettingsFileFromBuildProperty
_PackToolValidation
GenerateShimsAssets
_ComputeExpectedEmbeddedApphostPaths
_GenerateShimInputCache
_PackProjectToolValidation
ComputeDependencyFileCompilerOptions
ComputeRefAssembliesToPublish
_Cop