codekingpro commited on
Commit
77105a1
·
verified ·
1 Parent(s): e54d4e8

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. msvc/MSBuild/Current/Bin/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  2. msvc/MSBuild/Current/Bin/Microsoft.Bcl.AsyncInterfaces.xml +417 -0
  3. msvc/MSBuild/Current/Bin/Microsoft.Build.Framework.xml +0 -0
  4. msvc/MSBuild/Current/Bin/Microsoft.Build.Tasks.Core.xml +0 -0
  5. msvc/MSBuild/Current/Bin/Microsoft.Build.Utilities.Core.xml +0 -0
  6. msvc/MSBuild/Current/Bin/Microsoft.Build.xml +0 -0
  7. msvc/MSBuild/Current/Bin/Microsoft.CSharp.CrossTargeting.targets +24 -0
  8. msvc/MSBuild/Current/Bin/Microsoft.CSharp.CurrentVersion.targets +372 -0
  9. msvc/MSBuild/Current/Bin/Microsoft.CSharp.targets +38 -0
  10. msvc/MSBuild/Current/Bin/Microsoft.Common.CrossTargeting.targets +263 -0
  11. msvc/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets +0 -0
  12. msvc/MSBuild/Current/Bin/Microsoft.Common.Test.targets +25 -0
  13. msvc/MSBuild/Current/Bin/Microsoft.Common.overridetasks +40 -0
  14. msvc/MSBuild/Current/Bin/Microsoft.Common.targets +64 -0
  15. msvc/MSBuild/Current/Bin/Microsoft.Common.tasks +109 -0
  16. msvc/MSBuild/Current/Bin/Microsoft.Data.Entity.targets +15 -0
  17. msvc/MSBuild/Current/Bin/Microsoft.IO.Redist.xml +0 -0
  18. msvc/MSBuild/Current/Bin/Microsoft.Managed.After.targets +89 -0
  19. node/node_modules/yarn/LICENSE +26 -0
  20. node/node_modules/yarn/README.md +60 -0
  21. node/node_modules/yarn/bin/yarn +35 -0
  22. node/node_modules/yarn/bin/yarn.cmd +2 -0
  23. node/node_modules/yarn/bin/yarn.js +31 -0
  24. node/node_modules/yarn/bin/yarnpkg +2 -0
  25. node/node_modules/yarn/bin/yarnpkg.cmd +2 -0
  26. node/node_modules/yarn/lib/cli.js +0 -0
  27. node/node_modules/yarn/lib/v8-compile-cache.js +351 -0
  28. node/node_modules/yarn/package.json +28 -0
  29. node/node_modules/yarn/preinstall.js +60 -0
  30. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-313.pyc +0 -0
  31. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-313.pyc +0 -0
  32. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-313.pyc +0 -0
  33. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-313.pyc +0 -0
  34. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-313.pyc +0 -0
  35. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-313.pyc +0 -0
  36. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-313.pyc +0 -0
  37. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-313.pyc +0 -0
  38. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-313.pyc +0 -0
  39. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-313.pyc +0 -0
  40. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-313.pyc +0 -0
  41. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-313.pyc +0 -0
  42. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-313.pyc +0 -0
  43. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-313.pyc +0 -0
  44. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-313.pyc +0 -0
  45. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-313.pyc +0 -0
  46. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-313.pyc +0 -0
  47. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-313.pyc +0 -0
  48. node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/version.cpython-313.pyc +0 -0
  49. python/Lib/site-packages/hf_transfer-0.1.9.dist-info/licenses/LICENSE +201 -0
  50. python/Lib/site-packages/hf_transfer/__pycache__/__init__.cpython-313.pyc +0 -0
msvc/MSBuild/Current/Bin/Microsoft.Bcl.AsyncInterfaces.dll ADDED
Binary file (26.9 kB). View file
 
msvc/MSBuild/Current/Bin/Microsoft.Bcl.AsyncInterfaces.xml ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <doc>
3
+ <assembly>
4
+ <name>Microsoft.Bcl.AsyncInterfaces</name>
5
+ </assembly>
6
+ <members>
7
+ <member name="T:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1">
8
+ <summary>Provides the core logic for implementing a manual-reset <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource"/> or <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource`1"/>.</summary>
9
+ <typeparam name="TResult"></typeparam>
10
+ </member>
11
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation">
12
+ <summary>
13
+ The callback to invoke when the operation completes if <see cref="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)"/> was called before the operation completed,
14
+ or <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCoreShared.s_sentinel"/> if the operation completed before a callback was supplied,
15
+ or null if a callback hasn't yet been provided and the operation hasn't yet completed.
16
+ </summary>
17
+ </member>
18
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuationState">
19
+ <summary>State to pass to <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation"/>.</summary>
20
+ </member>
21
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext">
22
+ <summary><see cref="T:System.Threading.ExecutionContext"/> to flow to the callback, or null if no flowing is required.</summary>
23
+ </member>
24
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._capturedContext">
25
+ <summary>
26
+ A "captured" <see cref="T:System.Threading.SynchronizationContext"/> or <see cref="T:System.Threading.Tasks.TaskScheduler"/> with which to invoke the callback,
27
+ or null if no special context is required.
28
+ </summary>
29
+ </member>
30
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._completed">
31
+ <summary>Whether the current operation has completed.</summary>
32
+ </member>
33
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._result">
34
+ <summary>The result with which the operation succeeded, or the default value if it hasn't yet completed or failed.</summary>
35
+ </member>
36
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._error">
37
+ <summary>The exception with which the operation failed, or null if it hasn't yet completed or completed successfully.</summary>
38
+ </member>
39
+ <member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._version">
40
+ <summary>The current version of this value, used to help prevent misuse.</summary>
41
+ </member>
42
+ <member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.RunContinuationsAsynchronously">
43
+ <summary>Gets or sets whether to force continuations to run asynchronously.</summary>
44
+ <remarks>Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true.</remarks>
45
+ </member>
46
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Reset">
47
+ <summary>Resets to prepare for the next operation.</summary>
48
+ </member>
49
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetResult(`0)">
50
+ <summary>Completes with a successful result.</summary>
51
+ <param name="result">The result.</param>
52
+ </member>
53
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetException(System.Exception)">
54
+ <summary>Complets with an error.</summary>
55
+ <param name="error"></param>
56
+ </member>
57
+ <member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Version">
58
+ <summary>Gets the operation version.</summary>
59
+ </member>
60
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetStatus(System.Int16)">
61
+ <summary>Gets the status of the operation.</summary>
62
+ <param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
63
+ </member>
64
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(System.Int16)">
65
+ <summary>Gets the result of the operation.</summary>
66
+ <param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
67
+ </member>
68
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)">
69
+ <summary>Schedules the continuation action for this operation.</summary>
70
+ <param name="continuation">The continuation to invoke when the operation has completed.</param>
71
+ <param name="state">The state object to pass to <paramref name="continuation"/> when it's invoked.</param>
72
+ <param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
73
+ <param name="flags">The flags describing the behavior of the continuation.</param>
74
+ </member>
75
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.ValidateToken(System.Int16)">
76
+ <summary>Ensures that the specified token matches the current version.</summary>
77
+ <param name="token">The token supplied by <see cref="T:System.Threading.Tasks.ValueTask"/>.</param>
78
+ </member>
79
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SignalCompletion">
80
+ <summary>Signals that the operation has completed. Invoked after the result or error has been set.</summary>
81
+ </member>
82
+ <member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.InvokeContinuation">
83
+ <summary>
84
+ Invokes the continuation with the appropriate captured context / scheduler.
85
+ This assumes that if <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext"/> is not null we're already
86
+ running within that <see cref="T:System.Threading.ExecutionContext"/>.
87
+ </summary>
88
+ </member>
89
+ <member name="T:System.Threading.Tasks.TaskAsyncEnumerableExtensions">
90
+ <summary>Provides a set of static methods for configuring <see cref="T:System.Threading.Tasks.Task"/>-related behaviors on asynchronous enumerables and disposables.</summary>
91
+ </member>
92
+ <member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait(System.IAsyncDisposable,System.Boolean)">
93
+ <summary>Configures how awaits on the tasks returned from an async disposable will be performed.</summary>
94
+ <param name="source">The source async disposable.</param>
95
+ <param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
96
+ <returns>The configured async disposable.</returns>
97
+ </member>
98
+ <member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Boolean)">
99
+ <summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
100
+ <typeparam name="T">The type of the objects being iterated.</typeparam>
101
+ <param name="source">The source enumerable being iterated.</param>
102
+ <param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
103
+ <returns>The configured enumerable.</returns>
104
+ </member>
105
+ <member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.WithCancellation``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Threading.CancellationToken)">
106
+ <summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
107
+ <typeparam name="T">The type of the objects being iterated.</typeparam>
108
+ <param name="source">The source enumerable being iterated.</param>
109
+ <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
110
+ <returns>The configured enumerable.</returns>
111
+ </member>
112
+ <member name="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder">
113
+ <summary>Represents a builder for asynchronous iterators.</summary>
114
+ </member>
115
+ <member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Create">
116
+ <summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"/> struct.</summary>
117
+ <returns>The initialized instance.</returns>
118
+ </member>
119
+ <member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.MoveNext``1(``0@)">
120
+ <summary>Invokes <see cref="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"/> on the state machine while guarding the <see cref="T:System.Threading.ExecutionContext"/>.</summary>
121
+ <typeparam name="TStateMachine">The type of the state machine.</typeparam>
122
+ <param name="stateMachine">The state machine instance, passed by reference.</param>
123
+ </member>
124
+ <member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
125
+ <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
126
+ <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
127
+ <typeparam name="TStateMachine">The type of the state machine.</typeparam>
128
+ <param name="awaiter">The awaiter.</param>
129
+ <param name="stateMachine">The state machine.</param>
130
+ </member>
131
+ <member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
132
+ <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
133
+ <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
134
+ <typeparam name="TStateMachine">The type of the state machine.</typeparam>
135
+ <param name="awaiter">The awaiter.</param>
136
+ <param name="stateMachine">The state machine.</param>
137
+ </member>
138
+ <member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Complete">
139
+ <summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
140
+ </member>
141
+ <member name="P:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.ObjectIdForDebugger">
142
+ <summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
143
+ </member>
144
+ <member name="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute">
145
+ <summary>Indicates whether a method is an asynchronous iterator.</summary>
146
+ </member>
147
+ <member name="M:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute.#ctor(System.Type)">
148
+ <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute"/> class.</summary>
149
+ <param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
150
+ </member>
151
+ <member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
152
+ <summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
153
+ </member>
154
+ <member name="M:System.Runtime.CompilerServices.ConfiguredAsyncDisposable.DisposeAsync">
155
+ <summary>Asynchronously releases the unmanaged resources used by the <see cref="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable" />.</summary>
156
+ <returns>A task that represents the asynchronous dispose operation.</returns>
157
+ </member>
158
+ <member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
159
+ <summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
160
+ </member>
161
+ <member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)">
162
+ <summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
163
+ <param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
164
+ <returns>The configured enumerable.</returns>
165
+ <remarks>This will replace any previous value set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)"/> for this iteration.</remarks>
166
+ </member>
167
+ <member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)">
168
+ <summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
169
+ <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
170
+ <returns>The configured enumerable.</returns>
171
+ <remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
172
+ </member>
173
+ <member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.GetAsyncEnumerator">
174
+ <summary>Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.</summary>
175
+ <returns>An enumerator for the <see cref="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1" /> class.</returns>
176
+ </member>
177
+ <member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
178
+ <summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
179
+ </member>
180
+ <member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.MoveNextAsync">
181
+ <summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
182
+ <returns>
183
+ A <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> that will complete with a result of <c>true</c>
184
+ if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has
185
+ passed the end of the collection.
186
+ </returns>
187
+ </member>
188
+ <member name="P:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.Current">
189
+ <summary>Gets the element in the collection at the current position of the enumerator.</summary>
190
+ </member>
191
+ <member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.DisposeAsync">
192
+ <summary>
193
+ Performs application-defined tasks associated with freeing, releasing, or
194
+ resetting unmanaged resources asynchronously.
195
+ </summary>
196
+ </member>
197
+ <member name="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute">
198
+ <summary>Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)" />.</summary>
199
+ </member>
200
+ <member name="M:System.Runtime.CompilerServices.EnumeratorCancellationAttribute.#ctor">
201
+ <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute" /> class.</summary>
202
+ </member>
203
+ <member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
204
+ <summary>
205
+ Attribute used to indicate a source generator should create a function for marshalling
206
+ arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
207
+ </summary>
208
+ <remarks>
209
+ This attribute is meaningless if the source generator associated with it is not enabled.
210
+ The current built-in source generator only supports C# and only supplies an implementation when
211
+ applied to static, partial, non-generic methods.
212
+ </remarks>
213
+ </member>
214
+ <member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
215
+ <summary>
216
+ Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
217
+ </summary>
218
+ <param name="libraryName">Name of the library containing the import.</param>
219
+ </member>
220
+ <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
221
+ <summary>
222
+ Gets the name of the library containing the import.
223
+ </summary>
224
+ </member>
225
+ <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
226
+ <summary>
227
+ Gets or sets the name of the entry point to be called.
228
+ </summary>
229
+ </member>
230
+ <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
231
+ <summary>
232
+ Gets or sets how to marshal string arguments to the method.
233
+ </summary>
234
+ <remarks>
235
+ If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
236
+ <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
237
+ </remarks>
238
+ </member>
239
+ <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
240
+ <summary>
241
+ Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
242
+ </summary>
243
+ <remarks>
244
+ If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
245
+ or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
246
+ </remarks>
247
+ </member>
248
+ <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
249
+ <summary>
250
+ Gets or sets whether the callee sets an error (SetLastError on Windows or errno
251
+ on other platforms) before returning from the attributed method.
252
+ </summary>
253
+ </member>
254
+ <member name="T:System.Runtime.InteropServices.StringMarshalling">
255
+ <summary>
256
+ Specifies how strings should be marshalled for generated p/invokes
257
+ </summary>
258
+ </member>
259
+ <member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
260
+ <summary>
261
+ Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
262
+ </summary>
263
+ </member>
264
+ <member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
265
+ <summary>
266
+ Use the platform-provided UTF-8 marshaller.
267
+ </summary>
268
+ </member>
269
+ <member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
270
+ <summary>
271
+ Use the platform-provided UTF-16 marshaller.
272
+ </summary>
273
+ </member>
274
+ <member name="T:System.Collections.Generic.IAsyncEnumerable`1">
275
+ <summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
276
+ <typeparam name="T">The type of values to enumerate.</typeparam>
277
+ </member>
278
+ <member name="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)">
279
+ <summary>Returns an enumerator that iterates asynchronously through the collection.</summary>
280
+ <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that may be used to cancel the asynchronous iteration.</param>
281
+ <returns>An enumerator that can be used to iterate asynchronously through the collection.</returns>
282
+ </member>
283
+ <member name="T:System.Collections.Generic.IAsyncEnumerator`1">
284
+ <summary>Supports a simple asynchronous iteration over a generic collection.</summary>
285
+ <typeparam name="T">The type of objects to enumerate.</typeparam>
286
+ </member>
287
+ <member name="M:System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync">
288
+ <summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
289
+ <returns>
290
+ A <see cref="T:System.Threading.Tasks.ValueTask`1"/> that will complete with a result of <c>true</c> if the enumerator
291
+ was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end
292
+ of the collection.
293
+ </returns>
294
+ </member>
295
+ <member name="P:System.Collections.Generic.IAsyncEnumerator`1.Current">
296
+ <summary>Gets the element in the collection at the current position of the enumerator.</summary>
297
+ </member>
298
+ <member name="T:System.IAsyncDisposable">
299
+ <summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
300
+ </member>
301
+ <member name="M:System.IAsyncDisposable.DisposeAsync">
302
+ <summary>
303
+ Performs application-defined tasks associated with freeing, releasing, or
304
+ resetting unmanaged resources asynchronously.
305
+ </summary>
306
+ </member>
307
+ <member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
308
+ <summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
309
+ </member>
310
+ <member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
311
+ <summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
312
+ </member>
313
+ <member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
314
+ <summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
315
+ </member>
316
+ <member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
317
+ <summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
318
+ </member>
319
+ <member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
320
+ <summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
321
+ </member>
322
+ <member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
323
+ <summary>Initializes the attribute with the specified return value condition.</summary>
324
+ <param name="returnValue">
325
+ The return value condition. If the method returns this value, the associated parameter may be null.
326
+ </param>
327
+ </member>
328
+ <member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
329
+ <summary>Gets the return value condition.</summary>
330
+ </member>
331
+ <member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
332
+ <summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
333
+ </member>
334
+ <member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
335
+ <summary>Initializes the attribute with the specified return value condition.</summary>
336
+ <param name="returnValue">
337
+ The return value condition. If the method returns this value, the associated parameter will not be null.
338
+ </param>
339
+ </member>
340
+ <member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
341
+ <summary>Gets the return value condition.</summary>
342
+ </member>
343
+ <member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
344
+ <summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
345
+ </member>
346
+ <member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
347
+ <summary>Initializes the attribute with the associated parameter name.</summary>
348
+ <param name="parameterName">
349
+ The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
350
+ </param>
351
+ </member>
352
+ <member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
353
+ <summary>Gets the associated parameter name.</summary>
354
+ </member>
355
+ <member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
356
+ <summary>Applied to a method that will never return under any circumstance.</summary>
357
+ </member>
358
+ <member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
359
+ <summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
360
+ </member>
361
+ <member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
362
+ <summary>Initializes the attribute with the specified parameter value.</summary>
363
+ <param name="parameterValue">
364
+ The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
365
+ the associated parameter matches this value.
366
+ </param>
367
+ </member>
368
+ <member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
369
+ <summary>Gets the condition parameter value.</summary>
370
+ </member>
371
+ <member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
372
+ <summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
373
+ </member>
374
+ <member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
375
+ <summary>Initializes the attribute with a field or property member.</summary>
376
+ <param name="member">
377
+ The field or property member that is promised to be not-null.
378
+ </param>
379
+ </member>
380
+ <member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
381
+ <summary>Initializes the attribute with the list of field and property members.</summary>
382
+ <param name="members">
383
+ The list of field and property members that are promised to be not-null.
384
+ </param>
385
+ </member>
386
+ <member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
387
+ <summary>Gets field or property member names.</summary>
388
+ </member>
389
+ <member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
390
+ <summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
391
+ </member>
392
+ <member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
393
+ <summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
394
+ <param name="returnValue">
395
+ The return value condition. If the method returns this value, the associated parameter will not be null.
396
+ </param>
397
+ <param name="member">
398
+ The field or property member that is promised to be not-null.
399
+ </param>
400
+ </member>
401
+ <member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
402
+ <summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
403
+ <param name="returnValue">
404
+ The return value condition. If the method returns this value, the associated parameter will not be null.
405
+ </param>
406
+ <param name="members">
407
+ The list of field and property members that are promised to be not-null.
408
+ </param>
409
+ </member>
410
+ <member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
411
+ <summary>Gets the return value condition.</summary>
412
+ </member>
413
+ <member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
414
+ <summary>Gets field or property member names.</summary>
415
+ </member>
416
+ </members>
417
+ </doc>
msvc/MSBuild/Current/Bin/Microsoft.Build.Framework.xml ADDED
The diff for this file is too large to render. See raw diff
 
msvc/MSBuild/Current/Bin/Microsoft.Build.Tasks.Core.xml ADDED
The diff for this file is too large to render. See raw diff
 
msvc/MSBuild/Current/Bin/Microsoft.Build.Utilities.Core.xml ADDED
The diff for this file is too large to render. See raw diff
 
msvc/MSBuild/Current/Bin/Microsoft.Build.xml ADDED
The diff for this file is too large to render. See raw diff
 
msvc/MSBuild/Current/Bin/Microsoft.CSharp.CrossTargeting.targets ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ Microsoft.CSharp.CrossTargeting.targets
4
+
5
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6
+ created a backup copy. Incorrect changes to this file will make it
7
+ impossible to load or build your projects from the command-line or the IDE.
8
+
9
+ Copyright (C) Microsoft Corporation. All rights reserved.
10
+ ***********************************************************************************************
11
+ -->
12
+ <Project>
13
+
14
+ <!-- Import design time targets for Roslyn Project System. These are only available if Visual Studio is installed. -->
15
+ <!-- Import design time targets before the common crosstargeting targets, which import targets from Nuget. -->
16
+ <PropertyGroup>
17
+ <CSharpDesignTimeTargetsPath Condition="'$(CSharpDesignTimeTargetsPath)'==''">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets</CSharpDesignTimeTargetsPath>
18
+ </PropertyGroup>
19
+
20
+ <Import Project="$(CSharpDesignTimeTargetsPath)" Condition="'$(CSharpDesignTimeTargetsPath)' != '' and Exists('$(CSharpDesignTimeTargetsPath)')" />
21
+
22
+ <Import Project="Microsoft.Common.CrossTargeting.targets" />
23
+
24
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.CSharp.CurrentVersion.targets ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ Microsoft.CSharp.CurrentVersion.targets
4
+
5
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6
+ created a backup copy. Incorrect changes to this file will make it
7
+ impossible to load or build your projects from the command-line or the IDE.
8
+
9
+ This file defines the steps in the standard build process specific for C# .NET projects.
10
+ For example, it contains the step that actually calls the C# compiler. The remainder
11
+ of the build process is defined in Microsoft.Common.targets, which is imported by
12
+ this file.
13
+
14
+ Copyright (C) Microsoft Corporation. All rights reserved.
15
+ ***********************************************************************************************
16
+ -->
17
+ <Project>
18
+
19
+ <PropertyGroup>
20
+ <ImportByWildcardBeforeMicrosoftCSharpTargets Condition="'$(ImportByWildcardBeforeMicrosoftCSharpTargets)' == ''">true</ImportByWildcardBeforeMicrosoftCSharpTargets>
21
+ <ImportByWildcardAfterMicrosoftCSharpTargets Condition="'$(ImportByWildcardAfterMicrosoftCSharpTargets)' == ''">true</ImportByWildcardAfterMicrosoftCSharpTargets>
22
+ <ImportUserLocationsByWildcardBeforeMicrosoftCSharpTargets Condition="'$(ImportUserLocationsByWildcardBeforeMicrosoftCSharpTargets)' == ''">true</ImportUserLocationsByWildcardBeforeMicrosoftCSharpTargets>
23
+ <ImportUserLocationsByWildcardAfterMicrosoftCSharpTargets Condition="'$(ImportUserLocationsByWildcardAfterMicrosoftCSharpTargets)' == ''">true</ImportUserLocationsByWildcardAfterMicrosoftCSharpTargets>
24
+ </PropertyGroup>
25
+
26
+ <Import Project="$(MSBuildUserExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportBefore\*" Condition="'$(ImportUserLocationsByWildcardBeforeMicrosoftCSharpTargets)' == 'true' and exists('$(MSBuildUserExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportBefore')"/>
27
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportBefore\*" Condition="'$(ImportByWildcardBeforeMicrosoftCSharpTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportBefore')"/>
28
+
29
+ <PropertyGroup>
30
+ <CustomBeforeMicrosoftCSharpTargets Condition="'$(CustomBeforeMicrosoftCSharpTargets)'==''">$(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets</CustomBeforeMicrosoftCSharpTargets>
31
+ <CustomAfterMicrosoftCSharpTargets Condition="'$(CustomAfterMicrosoftCSharpTargets)'==''">$(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets</CustomAfterMicrosoftCSharpTargets>
32
+ </PropertyGroup>
33
+
34
+ <Import Project="$(CustomBeforeMicrosoftCSharpTargets)" Condition="'$(CustomBeforeMicrosoftCSharpTargets)' != '' and Exists('$(CustomBeforeMicrosoftCSharpTargets)')" />
35
+
36
+ <PropertyGroup>
37
+ <DefaultLanguageSourceExtension>.cs</DefaultLanguageSourceExtension>
38
+ <Language>C#</Language>
39
+ <TargetRuntime>Managed</TargetRuntime>
40
+ <AlwaysUseNumericalSuffixInItemNames>true</AlwaysUseNumericalSuffixInItemNames>
41
+ <DefineCommonItemSchemas Condition=" '$(DefineCommonItemSchemas)' == '' ">true</DefineCommonItemSchemas>
42
+ <DefineCommonReferenceSchemas Condition=" '$(DefineCommonReferenceSchemas)' == '' ">true</DefineCommonReferenceSchemas>
43
+ <DefineCommonCapabilities Condition=" '$(DefineCommonCapabilities)' == '' ">true</DefineCommonCapabilities>
44
+ <SynthesizeLinkMetadata Condition=" '$(SynthesizeLinkMetadata)' == '' and '$(HasSharedItems)' == 'true' ">true</SynthesizeLinkMetadata>
45
+ <DefaultProjectTypeGuid Condition=" '$(DefaultProjectTypeGuid)' == '' ">{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</DefaultProjectTypeGuid>
46
+ <AppDesignerFolder Condition="'$(AppDesignerFolder)' == ''">Properties</AppDesignerFolder>
47
+ </PropertyGroup>
48
+
49
+ <ItemGroup Condition=" '$(DefineCSharpItemSchemas)' != 'false' ">
50
+ <PropertyPageSchema Include="$(CommonXamlResourcesDirectory)CSharp.ProjectItemsSchema.xaml;"/>
51
+ <PropertyPageSchema Include="$(CommonXamlResourcesDirectory)CSharp.xaml;">
52
+ <Context>File</Context>
53
+ </PropertyPageSchema>
54
+ <PropertyPageSchema Include="$(CommonXamlResourcesDirectory)CSharp.BrowseObject.xaml;">
55
+ <Context>BrowseObject</Context>
56
+ </PropertyPageSchema>
57
+
58
+ <ProjectCapability Include="CSharp;Managed"/>
59
+ </ItemGroup>
60
+
61
+ <ItemGroup Condition=" '$(DefineCommonCapabilities)' == 'true' ">
62
+ <ProjectCapability Include="ReferencesFolder;LanguageService" />
63
+ </ItemGroup>
64
+
65
+ <!--
66
+ The CreateManifestResourceNames target create the manifest resource names from the .RESX
67
+ files.
68
+
69
+ [IN]
70
+ @(EmbeddedResource) - The list of EmbeddedResource items that have been pre-processed to add metadata about resource type
71
+ Expected Metadata "Type" can either be "Resx" or "Non-Resx"
72
+
73
+ [OUT]
74
+ @(EmbeddedResource) - EmbeddedResource items with metadata
75
+
76
+ For C# applications the transformation is like:
77
+
78
+ Resources1.resx => RootNamespace.Resources1 => Build into main assembly
79
+ SubFolder\Resources1.resx => RootNamespace.SubFolder.Resources1 => Build into main assembly
80
+ Resources1.fr.resx => RootNamespace.Resources1.fr => Build into satellite assembly
81
+ Resources1.notaculture.resx => RootNamespace.Resources1.notaculture => Build into main assembly
82
+
83
+ For other project systems, this transformation may be different.
84
+ -->
85
+
86
+ <PropertyGroup>
87
+ <CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
88
+ </PropertyGroup>
89
+
90
+ <Target
91
+ Name="CreateManifestResourceNames"
92
+ Condition="'@(EmbeddedResource)' != ''"
93
+ DependsOnTargets="$(CreateManifestResourceNamesDependsOn)"
94
+ >
95
+ <ItemGroup>
96
+ <_Temporary Remove="@(_Temporary)" />
97
+ </ItemGroup>
98
+
99
+ <!-- Create manifest names for culture and non-culture Resx files, and for non-culture Non-Resx resources -->
100
+ <CreateCSharpManifestResourceName
101
+ ResourceFiles="@(EmbeddedResource)"
102
+ RootNamespace="$(RootNamespace)"
103
+ UseDependentUponConvention="$(EmbeddedResourceUseDependentUponConvention)"
104
+ Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and ('%(EmbeddedResource.WithCulture)' == 'false' or '%(EmbeddedResource.Type)' == 'Resx')">
105
+ <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
106
+ </CreateCSharpManifestResourceName>
107
+
108
+ <!-- Create manifest names for all culture non-resx resources -->
109
+ <CreateCSharpManifestResourceName
110
+ ResourceFiles="@(EmbeddedResource)"
111
+ RootNamespace="$(RootNamespace)"
112
+ PrependCultureAsDirectory="false"
113
+ UseDependentUponConvention="$(EmbeddedResourceUseDependentUponConvention)"
114
+ Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and '%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'">
115
+ <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
116
+ </CreateCSharpManifestResourceName>
117
+
118
+ <ItemGroup>
119
+ <EmbeddedResource Remove="@(EmbeddedResource)" Condition="'%(EmbeddedResource.ManifestResourceName)' == ''"/>
120
+ <EmbeddedResource Include="@(_Temporary)" />
121
+ <_Temporary Remove="@(_Temporary)" />
122
+ </ItemGroup>
123
+ </Target>
124
+
125
+ <Target
126
+ Name="ResolveCodeAnalysisRuleSet"
127
+ Condition="'$(CodeAnalysisRuleSet)' != ''"
128
+ >
129
+ <ResolveCodeAnalysisRuleSet
130
+ CodeAnalysisRuleSet="$(CodeAnalysisRuleSet)"
131
+ CodeAnalysisRuleSetDirectories="$(CodeAnalysisRuleSetDirectories)"
132
+ MSBuildProjectDirectory="$(MSBuildProjectDirectory)">
133
+ <Output TaskParameter="ResolvedCodeAnalysisRuleSet" PropertyName="ResolvedCodeAnalysisRuleSet" />
134
+ </ResolveCodeAnalysisRuleSet>
135
+ </Target>
136
+
137
+ <ItemGroup>
138
+ <!-- Activate CPS projects to track folder names in namespace. -->
139
+ <ProjectCapability Include="RelativePathDerivedDefaultNamespace"/>
140
+ </ItemGroup>
141
+
142
+ <PropertyGroup>
143
+ <!-- Provide a facility to override UseHostCompilerIfAvailable-->
144
+ <UseHostCompilerIfAvailable Condition=" '$(UseHostCompilerIfAvailable)' == ''">true</UseHostCompilerIfAvailable>
145
+ </PropertyGroup>
146
+
147
+ <ItemGroup>
148
+ <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/>
149
+ </ItemGroup>
150
+
151
+ <ItemGroup Condition="'$(_DebugSymbolsProduced)' == 'true' and '$(PdbFile)' != ''">
152
+ <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)"/>
153
+ <!-- Add any missing .pdb extension, as the compiler does -->
154
+ <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')"/>
155
+ </ItemGroup>
156
+
157
+ <PropertyGroup>
158
+ <CoreCompileDependsOn>$(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet</CoreCompileDependsOn>
159
+ <ExportWinMDFile Condition="'$(ExportWinMDFile)' == '' and '$(OutputType)' == 'WinMDObj'">true</ExportWinMDFile>
160
+ </PropertyGroup>
161
+
162
+ <!--
163
+ The XamlPreCompile target must remain identical to
164
+ the CoreCompile target in Microsoft.CSharp.Core.targets.
165
+ Any updates to one must be made to the other.
166
+ -->
167
+ <Target
168
+ Name="XamlPreCompile"
169
+ Inputs="$(MSBuildAllProjects);
170
+ @(Compile);
171
+ @(_CoreCompileResourceInputs);
172
+ $(ApplicationIcon);
173
+ $(AssemblyOriginatorKeyFile);
174
+ @(ReferencePath);
175
+ @(CompiledLicenseFile);
176
+ @(LinkResource);
177
+ @(EmbeddedDocumentation);
178
+ $(Win32Resource);
179
+ $(Win32Manifest);
180
+ @(CustomAdditionalCompileInputs);
181
+ @(Page);
182
+ @(ApplicationDefinition);
183
+ $(ResolvedCodeAnalysisRuleSet)"
184
+
185
+ Outputs="@(DocFileItem);
186
+ @(XamlIntermediateAssembly);
187
+ @(_DebugSymbolsIntermediatePath);
188
+ $(NonExistentFile);
189
+ @(CustomAdditionalCompileOutputs)"
190
+ Condition="'@(Page)' != '' Or '@(ApplicationDefinition)' != ''"
191
+ Returns=""
192
+ DependsOnTargets="$(CoreCompileDependsOn);GenerateMSBuildEditorConfigFile"
193
+ >
194
+ <!-- These two compiler warnings are raised when a reference is bound to a different version
195
+ than specified in the assembly reference version number. MSBuild raises the same warning in this case,
196
+ so the compiler warning would be redundant. -->
197
+ <PropertyGroup Condition="('$(TargetFrameworkVersion)' != 'v1.0') and ('$(TargetFrameworkVersion)' != 'v1.1')">
198
+ <NoWarn>$(NoWarn);1701;1702</NoWarn>
199
+ </PropertyGroup>
200
+
201
+ <PropertyGroup>
202
+ <!-- To match historical behavior, when inside VS11+ disable the warning from csc.exe indicating that no sources were passed in-->
203
+ <NoWarn Condition=" '$(BuildingInsideVisualStudio)' == 'true' and '$(VisualStudioVersion)' != '' and '$(VisualStudioVersion)' > '10.0' ">$(NoWarn);2008</NoWarn>
204
+ </PropertyGroup>
205
+
206
+ <ItemGroup Condition="'$(TargetingClr2Framework)'=='true'">
207
+ <ReferencePath>
208
+ <EmbedInteropTypes/>
209
+ </ReferencePath>
210
+ </ItemGroup>
211
+
212
+ <PropertyGroup>
213
+ <!-- If the user has specified AppConfigForCompiler, we'll use it. If they have not, but they set UseAppConfigForCompiler,
214
+ then we'll use AppConfig -->
215
+ <AppConfigForCompiler Condition="'$(AppConfigForCompiler)' == '' and '$(UseAppConfigForCompiler)' == 'true'">$(AppConfig)</AppConfigForCompiler>
216
+
217
+ <!-- If we are targeting winmdobj we want to specifically the pdbFile property since we do not want it to collide with the output of winmdexp-->
218
+ <PdbFile Condition="'$(PdbFile)' == '' and '$(OutputType)' == 'winmdobj' and '$(_DebugSymbolsProduced)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
219
+ </PropertyGroup>
220
+
221
+ <!-- Prefer32Bit was introduced in .NET 4.5. Set it to false if we are targeting 4.0 -->
222
+ <PropertyGroup Condition="('$(TargetFrameworkVersion)' == 'v4.0')">
223
+ <Prefer32Bit>false</Prefer32Bit>
224
+ </PropertyGroup>
225
+
226
+ <ItemGroup Condition="('$(AdditionalFileItemNames)' != '')">
227
+ <AdditionalFileItems Include="$(AdditionalFileItemNames)" />
228
+ <AdditionalFiles Include="@(%(AdditionalFileItems.Identity))" />
229
+ </ItemGroup>
230
+
231
+ <PropertyGroup Condition="'$(UseSharedCompilation)' == ''">
232
+ <UseSharedCompilation>true</UseSharedCompilation>
233
+ </PropertyGroup>
234
+
235
+ <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
236
+ <!-- Don't run analyzers for Csc task on XamlPrecompile pass, we only want to run them on core compile. -->
237
+ <Csc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
238
+ AdditionalLibPaths="$(AdditionalLibPaths)"
239
+ AddModules="@(AddModules)"
240
+ AdditionalFiles="@(AdditionalFiles)"
241
+ AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
242
+ AnalyzerConfigFiles="@(EditorConfigFiles)"
243
+ Analyzers="@(Analyzer)"
244
+ ApplicationConfiguration="$(AppConfigForCompiler)"
245
+ BaseAddress="$(BaseAddress)"
246
+ CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
247
+ CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
248
+ CodePage="$(CodePage)"
249
+ DebugType="$(DebugType)"
250
+ DefineConstants="$(DefineConstants)"
251
+ DelaySign="$(DelaySign)"
252
+ DisabledWarnings="$(NoWarn)"
253
+ DocumentationFile="@(DocFileItem)"
254
+ EmitDebugInformation="$(DebugSymbols)"
255
+ EnvironmentVariables="$(CscEnvironment)"
256
+ ErrorEndLocation="$(ErrorEndLocation)"
257
+ ErrorLog="$(ErrorLog)"
258
+ ErrorReport="$(ErrorReport)"
259
+ FileAlignment="$(FileAlignment)"
260
+ GenerateFullPaths="$(GenerateFullPaths)"
261
+ HighEntropyVA="$(HighEntropyVA)"
262
+ KeyContainer="$(KeyContainerName)"
263
+ KeyFile="$(KeyOriginatorFile)"
264
+ LangVersion="$(LangVersion)"
265
+ LinkResources="@(LinkResource)"
266
+ MainEntryPoint="$(StartupObject)"
267
+ ModuleAssemblyName="$(ModuleAssemblyName)"
268
+ NoConfig="true"
269
+ NoLogo="$(NoLogo)"
270
+ NoStandardLib="$(NoCompilerStandardLib)"
271
+ NoWin32Manifest="$(NoWin32Manifest)"
272
+ Nullable="$(Nullable)"
273
+ Optimize="$(Optimize)"
274
+ OutputAssembly="@(XamlIntermediateAssembly)"
275
+ PdbFile="$(PdbFile)"
276
+ Platform="$(PlatformTarget)"
277
+ Prefer32Bit="$(Prefer32Bit)"
278
+ PreferredUILang="$(PreferredUILang)"
279
+ References="@(ReferencePath)"
280
+ ReportAnalyzer="$(ReportAnalyzer)"
281
+ Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
282
+ ResponseFiles="$(CompilerResponseFile)"
283
+ SkipAnalyzers="true"
284
+ Sources="@(Compile)"
285
+ SubsystemVersion="$(SubsystemVersion)"
286
+ TargetType="$(OutputType)"
287
+ ToolExe="$(CscToolExe)"
288
+ ToolPath="$(CscToolPath)"
289
+ TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
290
+ UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
291
+ UseSharedCompilation="$(UseSharedCompilation)"
292
+ Utf8Output="$(Utf8Output)"
293
+ VsSessionGuid="$(VsSessionGuid)"
294
+ WarningLevel="$(WarningLevel)"
295
+ WarningsAsErrors="$(WarningsAsErrors)"
296
+ WarningsNotAsErrors="$(WarningsNotAsErrors)"
297
+ Win32Icon="$(ApplicationIcon)"
298
+ Win32Manifest="$(Win32Manifest)"
299
+ Win32Resource="$(Win32Resource)"
300
+ />
301
+
302
+ <!-- Only Applicable to the regular CoreCompile:
303
+ <ItemGroup>
304
+ <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
305
+ </ItemGroup>
306
+
307
+ <CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''"/>
308
+ -->
309
+ <OnError Condition="'$(OnXamlPreCompileErrorTarget)' != ''" ExecuteTargets="$(OnXamlPreCompileErrorTarget)" />
310
+ </Target>
311
+
312
+ <PropertyGroup>
313
+ <!-- Design-time builds require a newer version than 1.0 to succeed, so override back to inbox in that case -->
314
+ <CSharpCoreTargetsPath Condition="'$(CSharpCoreTargetsPath)' == '' or ('$(DesignTimeBuild)' == 'true' and $(CSharpCoreTargetsPath.Contains('Microsoft.Net.Compilers.1.0.0')))">$(RoslynTargetsPath)\Microsoft.CSharp.Core.targets</CSharpCoreTargetsPath>
315
+ </PropertyGroup>
316
+
317
+ <Import Project="$(CSharpCoreTargetsPath)" />
318
+
319
+ <!-- Import design time targets for Roslyn Project System. These are only available if Visual Studio is installed. -->
320
+ <!-- Import design time targets before the common targets, which import targets from Nuget. -->
321
+ <PropertyGroup>
322
+ <CSharpDesignTimeTargetsPath Condition="'$(CSharpDesignTimeTargetsPath)'==''">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets</CSharpDesignTimeTargetsPath>
323
+ </PropertyGroup>
324
+
325
+ <Import Project="$(CSharpDesignTimeTargetsPath)" Condition="'$(CSharpDesignTimeTargetsPath)' != '' and Exists('$(CSharpDesignTimeTargetsPath)')" />
326
+
327
+ <Import Project="Microsoft.Common.targets" />
328
+
329
+ <Import Project="$(MSBuildToolsPath)\Microsoft.ServiceModel.targets" Condition="('$(TargetFrameworkVersion)' != 'v2.0' and '$(TargetFrameworkVersion)' != 'v3.0' and '$(TargetFrameworkVersion)' != 'v3.5') and Exists('$(MSBuildToolsPath)\Microsoft.ServiceModel.targets')"/>
330
+
331
+ <Target Name="_SetTargetFrameworkMonikerAttribute" BeforeTargets="GenerateTargetFrameworkMonikerAttribute">
332
+ <PropertyGroup>
333
+ <TargetFrameworkMonikerAssemblyAttributeText Condition="'$(TargetFrameworkMoniker)' != '' and '$(TargetingClr2Framework)' != 'true'">
334
+ // &lt;autogenerated /&gt;
335
+ using System%3b
336
+ using System.Reflection%3b
337
+ [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(&quot;$(TargetFrameworkMoniker)&quot;, FrameworkDisplayName = &quot;$(TargetFrameworkMonikerDisplayName)&quot;)]
338
+ </TargetFrameworkMonikerAssemblyAttributeText>
339
+ </PropertyGroup>
340
+ </Target>
341
+
342
+ <PropertyGroup>
343
+ <Utf8Output Condition="'$(Utf8Output)' == ''">true</Utf8Output>
344
+ <!-- NoCompilerStandardLib maps to the compiler's /nostdlib option. By default we always
345
+ want that switch to be passed to the compiler so that either we or the user
346
+ provides the references
347
+ NoStdLib on the other hand indicates that the user doesn't want standard references
348
+ so only if NoStdLib isn't set to true, will we provide the standard references
349
+ -->
350
+ <NoCompilerStandardLib Condition=" '$(NoCompilerStandardLib)' == '' ">true</NoCompilerStandardLib>
351
+ <ErrorEndLocation Condition="'$(BuildingInsideVisualStudio)' == 'true' and '$(ErrorEndLocation)' == ''">true</ErrorEndLocation>
352
+ <!-- When building inside VS, by default use the same language for compiler messages as VS itself does. -->
353
+ <PreferredUILang Condition="'$(BuildingInsideVisualStudio)' == 'true' and '$(PreferredUILang)' == ''">$([System.Globalization.CultureInfo]::CurrentUICulture.Name)</PreferredUILang>
354
+ </PropertyGroup>
355
+
356
+ <!-- Add any "automatic" compiler references that need to be resolved when NoCompilerStandardLib is set
357
+ but the user hasn't told us to not include standard references -->
358
+ <ItemGroup Condition=" '$(NoCompilerStandardLib)' == 'true' and '$(NoStdLib)' != 'true' ">
359
+ <!-- Note that unlike VB, C# does not automatically locate System.dll as a "standard library"
360
+ instead the reference is always passed from the project. Also, for mscorlib.dll
361
+ we need to provide the explicit location in order to avoid resolving from, e.g.,
362
+ {CandidateAssemblyFiles}.
363
+ -->
364
+ <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" />
365
+ </ItemGroup>
366
+
367
+ <Import Project="$(CustomAfterMicrosoftCSharpTargets)" Condition="'$(CustomAfterMicrosoftCSharpTargets)' != '' and Exists('$(CustomAfterMicrosoftCSharpTargets)')" />
368
+
369
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportAfter\*" Condition="'$(ImportByWildcardAfterMicrosoftCSharpTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportAfter')"/>
370
+ <Import Project="$(MSBuildUserExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportAfter\*" Condition="'$(ImportUserLocationsByWildcardAfterMicrosoftCSharpTargets)' == 'true' and exists('$(MSBuildUserExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.CSharp.targets\ImportAfter')"/>
371
+
372
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.CSharp.targets ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ Microsoft.CSharp.targets
4
+
5
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6
+ created a backup copy. Incorrect changes to this file will make it
7
+ impossible to load or build your projects from the command-line or the IDE.
8
+
9
+ This file defines the steps in the standard build process specific for C# .NET projects.
10
+ For example, it contains the step that actually calls the C# compiler. The remainder
11
+ of the build process is defined in Microsoft.Common.targets, which is imported by
12
+ this file.
13
+
14
+ Copyright (C) Microsoft Corporation. All rights reserved.
15
+ ***********************************************************************************************
16
+ -->
17
+ <Project>
18
+
19
+ <Choose>
20
+ <When Condition="'$(IsCrossTargetingBuild)' == 'true'">
21
+ <PropertyGroup>
22
+ <CSharpTargetsPath>$(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets</CSharpTargetsPath>
23
+ </PropertyGroup>
24
+ </When>
25
+ <Otherwise>
26
+ <PropertyGroup>
27
+ <CSharpTargetsPath>$(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets</CSharpTargetsPath>
28
+ </PropertyGroup>
29
+ </Otherwise>
30
+ </Choose>
31
+
32
+ <Import Project="$(MSBuildToolsPath)\Microsoft.Managed.Before.targets" />
33
+
34
+ <Import Project="$(CSharpTargetsPath)" />
35
+
36
+ <Import Project="$(MSBuildToolsPath)\Microsoft.Managed.After.targets" />
37
+
38
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.Common.CrossTargeting.targets ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ Microsoft.Common.CrossTargeting.targets
4
+
5
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6
+ created a backup copy. Incorrect changes to this file will make it
7
+ impossible to load or build your projects from the command-line or the IDE.
8
+
9
+ Copyright (C) Microsoft Corporation. All rights reserved.
10
+ ***********************************************************************************************
11
+ -->
12
+ <Project DefaultTargets="Build">
13
+
14
+ <PropertyGroup>
15
+ <BuildInParallel Condition="'$(BuildInParallel)' == ''">true</BuildInParallel>
16
+ <ImportByWildcardBeforeMicrosoftCommonCrossTargetingTargets Condition="'$(ImportByWildcardBeforeMicrosoftCommonCrossTargetingTargets)' == ''">true</ImportByWildcardBeforeMicrosoftCommonCrossTargetingTargets>
17
+ </PropertyGroup>
18
+
19
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.CrossTargeting.targets\ImportBefore\*.targets"
20
+ Condition="'$(ImportByWildcardBeforeMicrosoftCommonCrossTargetingTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.CrossTargeting.targets\ImportBefore')"/>
21
+
22
+ <Import Project="$(MSBuildProjectFullPath).user" Condition="Exists('$(MSBuildProjectFullPath).user')"/>
23
+
24
+ <Import Project="$(CustomBeforeMicrosoftCommonCrossTargetingTargets)" Condition="'$(CustomBeforeMicrosoftCommonCrossTargetingTargets)' != '' and Exists('$(CustomBeforeMicrosoftCommonCrossTargetingTargets)')"/>
25
+
26
+ <Target Name="GetTargetFrameworks"
27
+ DependsOnTargets="GetTargetFrameworksWithPlatformFromInnerBuilds"
28
+ Returns="@(_ThisProjectBuildMetadata)">
29
+
30
+ <Error Condition="'$(IsCrossTargetingBuild)' != 'true'"
31
+ Text="Internal MSBuild error: CrossTargeting GetTargetFrameworks target should only be used in cross targeting (outer) build" />
32
+
33
+ <CombineXmlElements
34
+ RootElementName="AdditionalProjectProperties"
35
+ XmlElements="@(_TargetFrameworkInfo->'%(AdditionalPropertiesFromProject)')">
36
+ <Output TaskParameter="Result"
37
+ PropertyName="_AdditionalPropertiesFromProject"/>
38
+ </CombineXmlElements>
39
+
40
+ <ItemGroup>
41
+ <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)">
42
+ <TargetFrameworks>@(_TargetFrameworkInfo)</TargetFrameworks>
43
+ <TargetFrameworkMonikers>@(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)')</TargetFrameworkMonikers>
44
+ <TargetPlatformMonikers>@(_TargetFrameworkInfo->'%(TargetPlatformMonikers)')</TargetPlatformMonikers>
45
+ <AdditionalPropertiesFromProject>$(_AdditionalPropertiesFromProject)</AdditionalPropertiesFromProject>
46
+ <HasSingleTargetFramework>false</HasSingleTargetFramework>
47
+ <IsRidAgnostic>@(_TargetFrameworkInfo->'%(IsRidAgnostic)')</IsRidAgnostic>
48
+ <!-- Extract necessary information for SetPlatform negotiation -->
49
+ <!-- This target does not run for cpp projects. -->
50
+ <IsVcxOrNativeProj>false</IsVcxOrNativeProj>
51
+ <Platform Condition="$([MSBuild]::AreFeaturesEnabled('17.4'))">$(Platform)</Platform>
52
+ <Platforms>$(Platforms)</Platforms>
53
+ </_ThisProjectBuildMetadata>
54
+ </ItemGroup>
55
+
56
+ </Target>
57
+
58
+ <Target Name="_ComputeTargetFrameworkItems" Returns="@(InnerOutput)">
59
+ <ItemGroup>
60
+ <_TargetFramework Include="$(TargetFrameworks)" />
61
+ <!-- Make normalization explicit: Trim; Deduplicate by keeping first occurrence, case insensitive -->
62
+ <_TargetFrameworkNormalized Include="@(_TargetFramework->Trim()->Distinct())" />
63
+ <_InnerBuildProjects Include="$(MSBuildProjectFile)">
64
+ <AdditionalProperties>TargetFramework=%(_TargetFrameworkNormalized.Identity)</AdditionalProperties>
65
+ </_InnerBuildProjects>
66
+ </ItemGroup>
67
+ </Target>
68
+
69
+ <Target Name="GetTargetFrameworksWithPlatformFromInnerBuilds"
70
+ DependsOnTargets="_ComputeTargetFrameworkItems">
71
+
72
+ <MSBuild Projects="@(_InnerBuildProjects)"
73
+ Condition="'@(_InnerBuildProjects)' != '' "
74
+ Targets="GetTargetFrameworksWithPlatformForSingleTargetFramework"
75
+ BuildInParallel="$(BuildInParallel)">
76
+ <Output ItemName="_TargetFrameworkInfo" TaskParameter="TargetOutputs" />
77
+ </MSBuild>
78
+
79
+ </Target>
80
+
81
+ <!--
82
+ Target that allows targets consuming source control confirmation to establish a dependency on targets producing this information.
83
+
84
+ Any target that reads SourceRevisionId, PrivateRepositoryUrl, SourceRoot, and other source control properties and items
85
+ should depend on this target and be conditioned on '$(SourceControlInformationFeatureSupported)' == 'true'.
86
+
87
+ SourceRevisionId property uniquely identifies the source control revision of the repository the project belongs to.
88
+ For Git repositories this id is a commit hash, for TFVC repositories it's the changeset number, etc.
89
+
90
+ PrivateRepositoryUrl property stores the URL of the repository supplied by the CI server or retrieved from source control manager.
91
+ Targets consuming this property shall not publish its value implicitly as it might inadvertently reveal an internal URL.
92
+ Instead, they shall only do so if the project sets PublishRepositoryUrl property to true. For example, the NuGet Pack target
93
+ may include the repository URL in the nuspec file generated for NuGet package produced by the project if PublishRepositoryUrl is true.
94
+
95
+ SourceRoot item group lists all source roots that the project source files reside under and their mapping to source control server URLs,
96
+ if available. This includes both source files under source control as well as source files in source packages. SourceRoot items are
97
+ used by compilers to determine path map in deterministic build and by SourceLink provider, which maps local paths to URLs of source files
98
+ stored on the source control server.
99
+
100
+ Source control information provider that sets these properties and items shall execute before this target (by including
101
+ InitializeSourceControlInformation in its BeforeTargets) and set source control properties and items that haven't been initialized yet.
102
+ -->
103
+ <Target Name="InitializeSourceControlInformation" />
104
+
105
+ <PropertyGroup>
106
+ <SourceControlInformationFeatureSupported>true</SourceControlInformationFeatureSupported>
107
+ </PropertyGroup>
108
+
109
+ <!--
110
+ ============================================================
111
+ DispatchToInnerBuilds
112
+
113
+ Builds this project with /t:$(InnerTarget) /p:TargetFramework=X for each
114
+ value X in $(TargetFrameworks)
115
+
116
+ [IN]
117
+ $(TargetFrameworks) - Semicolon delimited list of target frameworks.
118
+ $(InnerTargets) - The targets to build for each target framework
119
+
120
+ [OUT]
121
+ @(InnerOutput) - The combined output items of the inner targets across
122
+ all target frameworks..
123
+ ============================================================
124
+ -->
125
+ <Target Name="DispatchToInnerBuilds"
126
+ DependsOnTargets="_ComputeTargetFrameworkItems"
127
+ Returns="@(InnerOutput)">
128
+ <!-- If this logic is changed, also update Clean -->
129
+ <MSBuild Projects="@(_InnerBuildProjects)"
130
+ Condition="'@(_InnerBuildProjects)' != '' "
131
+ Targets="$(InnerTargets)"
132
+ BuildInParallel="$(BuildInParallel)">
133
+ <Output ItemName="InnerOutput" TaskParameter="TargetOutputs" />
134
+ </MSBuild>
135
+ </Target>
136
+
137
+ <!--
138
+ ============================================================
139
+ Build
140
+
141
+ Cross-targeting version of Build.
142
+
143
+ [IN]
144
+ $(TargetFrameworks) - Semicolon delimited list of target frameworks.
145
+
146
+ $(InnerTargets) - The targets to build for each target framework. Defaults
147
+ to 'Build' if unset, but allows override to support
148
+ `msbuild /p:InnerTargets=X;Y;Z` which will build X, Y,
149
+ and Z targets for each target framework.
150
+
151
+ [OUT]
152
+ @(InnerOutput) - The combined output items of the inner targets across
153
+ all builds.
154
+ ============================================================
155
+ -->
156
+ <Target Name="Build" DependsOnTargets="_SetBuildInnerTarget;DispatchToInnerBuilds" />
157
+
158
+ <Target Name="_SetBuildInnerTarget" Returns="@(InnerOutput)">
159
+ <PropertyGroup Condition="'$(InnerTargets)' == ''">
160
+ <InnerTargets>Build</InnerTargets>
161
+ </PropertyGroup>
162
+ </Target>
163
+
164
+
165
+ <!--
166
+ ============================================================
167
+ Clean
168
+
169
+ Cross-targeting version of clean.
170
+
171
+ Inner-build dispatch is a clone of DispatchToInnerBuilds;
172
+ the only reason it's replicated is that it must be a different
173
+ target to be run in the same build (e.g. by Rebuild or by
174
+ a /t:Clean;Build invocation.
175
+ ============================================================
176
+ -->
177
+ <Target Name="Clean"
178
+ DependsOnTargets="_ComputeTargetFrameworkItems">
179
+ <!-- If this logic is changed, also update DispatchToInnerBuilds -->
180
+ <MSBuild Projects="@(_InnerBuildProjects)"
181
+ Condition="'@(_InnerBuildProjects)' != '' "
182
+ Targets="Clean"
183
+ BuildInParallel="$(BuildInParallel)" />
184
+ </Target>
185
+
186
+ <!--
187
+ ============================================================
188
+ Rebuild
189
+
190
+ Cross-targeting version of rebuild.
191
+ ============================================================
192
+ -->
193
+ <Target Name="Rebuild" DependsOnTargets="Clean;Build" />
194
+
195
+ <!--
196
+ This will import NuGet restore targets. We need restore to work before any package assets are available.
197
+ -->
198
+ <PropertyGroup>
199
+ <MSBuildUseVisualStudioDirectoryLayout Condition="'$(MSBuildUseVisualStudioDirectoryLayout)'==''">$([MSBuild]::IsRunningFromVisualStudio())</MSBuildUseVisualStudioDirectoryLayout>
200
+ <NuGetRestoreTargets Condition="'$(NuGetRestoreTargets)'=='' and '$(MSBuildUseVisualStudioDirectoryLayout)'=='true'">$([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets</NuGetRestoreTargets>
201
+ <NuGetRestoreTargets Condition="'$(NuGetRestoreTargets)'==''">$(MSBuildToolsPath)\NuGet.targets</NuGetRestoreTargets>
202
+ </PropertyGroup>
203
+
204
+ <Import Project="$(NuGetRestoreTargets)" />
205
+
206
+ <Import Project="$(CustomAfterMicrosoftCommonCrossTargetingTargets)" Condition="'$(CustomAfterMicrosoftCommonCrossTargetingTargets)' != '' and Exists('$(CustomAfterMicrosoftCommonCrossTargetingTargets)')"/>
207
+
208
+ <!--
209
+ Allow extensions like NuGet restore to work before any package assets are available.
210
+ -->
211
+ <PropertyGroup>
212
+ <ImportByWildcardAfterMicrosoftCommonCrossTargetingTargets Condition="'$(ImportByWildcardAfterMicrosoftCommonCrossTargetingTargets)' == ''">true</ImportByWildcardAfterMicrosoftCommonCrossTargetingTargets>
213
+ </PropertyGroup>
214
+
215
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.CrossTargeting.targets\ImportAfter\*.targets"
216
+ Condition="'$(ImportByWildcardAfterMicrosoftCommonCrossTargetingTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.CrossTargeting.targets\ImportAfter')"/>
217
+
218
+ <!--
219
+ Import project extensions which usually come from packages. Package management systems will create a file at:
220
+ $(MSBuildProjectExtensionsPath)\$(MSBuildProjectFile).<SomethingUnique>.targets
221
+
222
+ Each package management system should use a unique moniker to avoid collisions. It is a wild-card iport so the package
223
+ management system can write out multiple files but the order of the import is alphabetic because MSBuild sorts the list.
224
+
225
+ This is the same import that would happen in an inner (non-cross targeting) build. Package management systems are responsible for generating
226
+ appropriate conditions based on $(IsCrossTargetingBuild) to pull in only those package targets that are meant to participate in a cross-targeting
227
+ build.
228
+ -->
229
+ <PropertyGroup>
230
+ <!--
231
+ Don't import project extensions during restore because NuGet restore generates them. Importing them during restore will embed
232
+ the pre-restore files in the binary log and then NuGet won't be able to embed the generated one after restore. If some other
233
+ project extension mechanism wants to import project extensions during restore, they need to explicitly set ImportProjectExtensionTargets
234
+ -->
235
+ <ImportProjectExtensionTargets Condition="$([MSBuild]::AreFeaturesEnabled('17.10')) And '$(ImportProjectExtensionTargets)' == '' And '$(MSBuildIsRestoring)' == 'true'">false</ImportProjectExtensionTargets>
236
+
237
+ <ImportProjectExtensionTargets Condition="'$(ImportProjectExtensionTargets)' == ''">true</ImportProjectExtensionTargets>
238
+ </PropertyGroup>
239
+
240
+ <Import Project="$(MSBuildProjectExtensionsPath)$(MSBuildProjectFile).*.targets" Condition="'$(ImportProjectExtensionTargets)' == 'true' and exists('$(MSBuildProjectExtensionsPath)')" />
241
+
242
+ <PropertyGroup>
243
+ <ImportDirectoryBuildTargets Condition="'$(ImportDirectoryBuildTargets)' == ''">true</ImportDirectoryBuildTargets>
244
+ </PropertyGroup>
245
+
246
+ <!--
247
+ Determine the path to the directory build targets file if the user did not disable $(ImportDirectoryBuildTargets) and
248
+ they did not already specify an absolute path to use via $(DirectoryBuildTargetsPath)
249
+ -->
250
+ <PropertyGroup Condition="'$(ImportDirectoryBuildTargets)' == 'true' and '$(DirectoryBuildTargetsPath)' == ''">
251
+ <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets</_DirectoryBuildTargetsFile>
252
+ <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)'))</_DirectoryBuildTargetsBasePath>
253
+ <DirectoryBuildTargetsPath Condition="'$(_DirectoryBuildTargetsBasePath)' != '' and '$(_DirectoryBuildTargetsFile)' != ''">$([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)'))</DirectoryBuildTargetsPath>
254
+ </PropertyGroup>
255
+
256
+ <Import Project="$(DirectoryBuildTargetsPath)" Condition="'$(ImportDirectoryBuildTargets)' == 'true' and exists('$(DirectoryBuildTargetsPath)')"/>
257
+
258
+ <PropertyGroup>
259
+ <UseMSBuildTestInfrastructure Condition="'$(UseMSBuildTestInfrastructure)' == ''">false</UseMSBuildTestInfrastructure>
260
+ </PropertyGroup>
261
+ <Import Project="$(MSBuildToolsPath)\Microsoft.Common.Test.targets" Condition="'$(UseMSBuildTestInfrastructure)' == 'true'"/>
262
+
263
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets ADDED
The diff for this file is too large to render. See raw diff
 
msvc/MSBuild/Current/Bin/Microsoft.Common.Test.targets ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ Microsoft.Common.Test.targets
4
+
5
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6
+ created a backup copy. Incorrect changes to this file will make it
7
+ impossible to load or build your projects from the command-line or the IDE.
8
+
9
+ Copyright (C) Microsoft Corporation. All rights reserved.
10
+ ***********************************************************************************************
11
+ -->
12
+ <!--
13
+ ============================================================
14
+ This stub `Test` target allows for targets implementing Test execution functionality
15
+ to run after it.
16
+
17
+ For example:
18
+ <Target Name="RunVSTest" AfterTargets="Test">
19
+ (implementation)
20
+ </Target>
21
+ ============================================================
22
+ -->
23
+ <Project>
24
+ <Target Name="Test"></Target>
25
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.Common.overridetasks ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <Project>
2
+
3
+ <!-- This file lists UsingTask elements that we wish to override
4
+ any other UsingTask elements -->
5
+
6
+ <!-- NOTE: Listing a <UsingTask> tag in a *.tasks file like this one rather than in a project or targets file
7
+ can give a significant performance advantage in a large build, because every time a <UsingTask> tag
8
+ is encountered, it will cause the task to be rediscovered next time the task is used. -->
9
+
10
+ <!-- NOTE: Using the fully qualified class name in a <UsingTask> tag is faster than using a partially qualified name. -->
11
+
12
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveComReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5'" />
13
+
14
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateResource" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' and ('$(DisableOutOfProcTaskHost)' != '' or !$([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`)))" />
15
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateResource" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' and '$(DisableOutOfProcTaskHost)' == '' and $([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`))" Runtime="CLR2" />
16
+
17
+ <UsingTask TaskName="Microsoft.Build.Tasks.RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' and ('$(DisableOutOfProcTaskHost)' != '' or !$([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`)))" />
18
+ <UsingTask TaskName="Microsoft.Build.Tasks.RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' and '$(DisableOutOfProcTaskHost)' == '' and $([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`))" Runtime="CLR2" />
19
+
20
+ <UsingTask TaskName="Microsoft.Build.Tasks.UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' and ('$(DisableOutOfProcTaskHost)' != '' or !$([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`)))" />
21
+ <UsingTask TaskName="Microsoft.Build.Tasks.UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' and '$(DisableOutOfProcTaskHost)' == '' and $([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`))" Runtime="CLR2" />
22
+
23
+ <UsingTask TaskName="ResolveComReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0'" />
24
+
25
+ <UsingTask TaskName="GenerateResource" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0' and ('$(DisableOutOfProcTaskHost)' != '' or !$([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`)))" />
26
+ <UsingTask TaskName="GenerateResource" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0' and '$(DisableOutOfProcTaskHost)' == '' and $([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`))" Runtime="CLR2" />
27
+
28
+ <UsingTask TaskName="RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0' and ('$(DisableOutOfProcTaskHost)' != '' or !$([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`)))" />
29
+ <UsingTask TaskName="RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0' and '$(DisableOutOfProcTaskHost)' == '' and $([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`))" Runtime="CLR2" />
30
+
31
+ <UsingTask TaskName="UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0' and ('$(DisableOutOfProcTaskHost)' != '' or !$([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`)))" />
32
+ <UsingTask TaskName="UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '2.0' and '$(DisableOutOfProcTaskHost)' == '' and $([MSBuild]::DoesTaskHostExist(`CLR2`,`CurrentArchitecture`))" Runtime="CLR2" />
33
+
34
+ <UsingTask TaskName="ReadLinesFromFile" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' or '$(MSBuildToolsVersion)' == '2.0'" />
35
+ <UsingTask TaskName="FindUnderPath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' or '$(MSBuildToolsVersion)' == '2.0'" />
36
+ <UsingTask TaskName="ConvertToAbsolutePath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' or '$(MSBuildToolsVersion)' == '2.0'" />
37
+ <UsingTask TaskName="MSBuild" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '3.5' or '$(MSBuildToolsVersion)' == '2.0'" />
38
+ <UsingTask TaskName="ResolveAssemblyReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildToolsVersion)' == '4.0'" />
39
+
40
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.Common.targets ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ Microsoft.Common.targets
4
+
5
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6
+ created a backup copy. Incorrect changes to this file will make it
7
+ impossible to load or build your projects from the command-line or the IDE.
8
+
9
+ This file defines the steps in the standard build process for .NET projects. It
10
+ contains all the steps that are common among the different .NET languages, such as
11
+ Visual Basic, and Visual C#.
12
+
13
+ Copyright (C) Microsoft Corporation. All rights reserved.
14
+ ***********************************************************************************************
15
+ -->
16
+ <Project DefaultTargets="Build">
17
+
18
+ <PropertyGroup>
19
+ <CommonTargetsPath>$(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets</CommonTargetsPath>
20
+ </PropertyGroup>
21
+
22
+ <Import Project="$(CommonTargetsPath)" />
23
+
24
+ <!--
25
+ Prepare to import project extensions which usually come from packages. Package management systems will create a file at:
26
+ $(MSBuildProjectExtensionsPath)\$(MSBuildProjectFile).<SomethingUnique>.targets
27
+
28
+ Each package management system should use a unique moniker to avoid collisions. It is a wild-card import so the package
29
+ management system can write out multiple files but the order of the import is alphabetic because MSBuild sorts the list.
30
+ -->
31
+ <PropertyGroup>
32
+ <!--
33
+ Don't import project extensions during restore because NuGet restore generates them. Importing them during restore will embed
34
+ the pre-restore files in the binary log and then NuGet won't be able to embed the generated one after restore. If some other
35
+ project extension mechanism wants to import project extensions during restore, they need to explicitly set ImportProjectExtensionTargets
36
+ -->
37
+ <ImportProjectExtensionTargets Condition="$([MSBuild]::AreFeaturesEnabled('17.10')) And '$(ImportProjectExtensionTargets)' == '' And '$(MSBuildIsRestoring)' == 'true'">false</ImportProjectExtensionTargets>
38
+
39
+ <ImportProjectExtensionTargets Condition="'$(ImportProjectExtensionTargets)' == ''">true</ImportProjectExtensionTargets>
40
+ </PropertyGroup>
41
+
42
+ <Import Project="$(MSBuildProjectExtensionsPath)$(MSBuildProjectFile).*.targets" Condition="'$(ImportProjectExtensionTargets)' == 'true' and exists('$(MSBuildProjectExtensionsPath)')" />
43
+
44
+ <PropertyGroup>
45
+ <ImportDirectoryBuildTargets Condition="'$(ImportDirectoryBuildTargets)' == ''">true</ImportDirectoryBuildTargets>
46
+ </PropertyGroup>
47
+
48
+ <!--
49
+ Determine the path to the directory build targets file if the user did not disable $(ImportDirectoryBuildTargets) and
50
+ they did not already specify an absolute path to use via $(DirectoryBuildTargetsPath)
51
+ -->
52
+ <PropertyGroup Condition="'$(ImportDirectoryBuildTargets)' == 'true' and '$(DirectoryBuildTargetsPath)' == ''">
53
+ <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets</_DirectoryBuildTargetsFile>
54
+ <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)'))</_DirectoryBuildTargetsBasePath>
55
+ <DirectoryBuildTargetsPath Condition="'$(_DirectoryBuildTargetsBasePath)' != '' and '$(_DirectoryBuildTargetsFile)' != ''">$([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)'))</DirectoryBuildTargetsPath>
56
+ </PropertyGroup>
57
+
58
+ <Import Project="$(CustomBeforeDirectoryBuildTargets)" Condition="'$(CustomBeforeDirectoryBuildTargets)' != ''" />
59
+
60
+ <Import Project="$(DirectoryBuildTargetsPath)" Condition="'$(ImportDirectoryBuildTargets)' == 'true' and exists('$(DirectoryBuildTargetsPath)')"/>
61
+
62
+ <Import Project="$(CustomAfterDirectoryBuildTargets)" Condition="'$(CustomAfterDirectoryBuildTargets)' != ''" />
63
+
64
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.Common.tasks ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <Project>
2
+
3
+ <!-- This file lists all the tasks that ship by default with MSBuild -->
4
+
5
+ <!-- NOTE: Listing a <UsingTask> tag in a *.tasks file like this one rather than in a project or targets file
6
+ can give a significant performance advantage in a large build, because every time a <UsingTask> tag
7
+ is encountered, it will cause the task to be rediscovered next time the task is used. -->
8
+
9
+ <!-- NOTE: Using the fully qualified class name in a <UsingTask> tag is faster than using a partially qualified name. -->
10
+
11
+ <UsingTask TaskName="Microsoft.Build.Tasks.AL" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
12
+ <UsingTask TaskName="Microsoft.Build.Tasks.AspNetCompiler" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
13
+ <UsingTask TaskName="Microsoft.Build.Tasks.AssignCulture" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
14
+ <UsingTask TaskName="Microsoft.Build.Tasks.AssignLinkMetadata" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
15
+ <UsingTask TaskName="Microsoft.Build.Tasks.AssignProjectConfiguration" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
16
+ <UsingTask TaskName="Microsoft.Build.Tasks.AssignTargetPath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
17
+ <UsingTask TaskName="Microsoft.Build.Tasks.CallTarget" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
18
+ <UsingTask TaskName="Microsoft.Build.Tasks.CombinePath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
19
+ <UsingTask TaskName="Microsoft.Build.Tasks.CombineTargetFrameworkInfoProperties" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
20
+ <UsingTask TaskName="Microsoft.Build.Tasks.CombineXmlElements" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
21
+ <UsingTask TaskName="Microsoft.Build.Tasks.ConvertToAbsolutePath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
22
+ <UsingTask TaskName="Microsoft.Build.Tasks.Copy" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
23
+ <UsingTask TaskName="Microsoft.Build.Tasks.CreateCSharpManifestResourceName" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
24
+ <UsingTask TaskName="Microsoft.Build.Tasks.CreateItem" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
25
+ <UsingTask TaskName="Microsoft.Build.Tasks.CreateProperty" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
26
+ <UsingTask TaskName="Microsoft.Build.Tasks.CreateVisualBasicManifestResourceName" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
27
+ <UsingTask TaskName="Microsoft.Build.Tasks.Delete" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
28
+ <UsingTask TaskName="Microsoft.Build.Tasks.DownloadFile" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
29
+ <UsingTask TaskName="Microsoft.Build.Tasks.Error" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
30
+ <UsingTask TaskName="Microsoft.Build.Tasks.ErrorFromResources" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
31
+ <UsingTask TaskName="Microsoft.Build.Tasks.Exec" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
32
+ <UsingTask TaskName="Microsoft.Build.Tasks.FindAppConfigFile" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
33
+ <UsingTask TaskName="Microsoft.Build.Tasks.FindInList" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
34
+ <UsingTask TaskName="Microsoft.Build.Tasks.FindInvalidProjectReferences" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
35
+ <UsingTask TaskName="Microsoft.Build.Tasks.FindUnderPath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
36
+ <UsingTask TaskName="Microsoft.Build.Tasks.FormatUrl" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
37
+ <UsingTask TaskName="Microsoft.Build.Tasks.FormatVersion" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
38
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateApplicationManifest" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
39
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateBindingRedirects" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
40
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateBootstrapper" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
41
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateDeploymentManifest" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
42
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateLauncher" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
43
+
44
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateResource" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(DisableOutOfProcTaskHost)' != ''" />
45
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateResource" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="CLR4" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' != 'Core'" />
46
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateResource" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="NET" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' == 'Core'" />
47
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateResource" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="CLR2" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' != 'Core'" />
48
+
49
+ <UsingTask TaskName="Microsoft.Build.Tasks.GenerateTrustInfo" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
50
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetAssemblyIdentity" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
51
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetAssembliesMetadata" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildRuntimeType)' == 'Full'"/>
52
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetCompatiblePlatform" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
53
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetFileHash" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
54
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetFrameworkPath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
55
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetFrameworkSdkPath" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
56
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetInstalledSDKLocations" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
57
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetReferenceAssemblyPaths" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
58
+ <UsingTask TaskName="Microsoft.Build.Tasks.GetSDKReferenceFiles" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
59
+ <UsingTask TaskName="Microsoft.Build.Tasks.Hash" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
60
+ <UsingTask TaskName="Microsoft.Build.Tasks.LC" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
61
+ <UsingTask TaskName="Microsoft.Build.Tasks.MakeDir" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
62
+ <UsingTask TaskName="Microsoft.Build.Tasks.Message" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
63
+ <UsingTask TaskName="Microsoft.Build.Tasks.Move" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
64
+ <UsingTask TaskName="Microsoft.Build.Tasks.MSBuild" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
65
+ <UsingTask TaskName="Microsoft.Build.Tasks.ReadLinesFromFile" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
66
+
67
+ <UsingTask TaskName="Microsoft.Build.Tasks.RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildRuntimeType)' == 'Core' or '$(DisableOutOfProcTaskHost)' != ''" />
68
+ <UsingTask TaskName="Microsoft.Build.Tasks.RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="CLR4" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' != 'Core'" />
69
+ <UsingTask TaskName="Microsoft.Build.Tasks.RegisterAssembly" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="CLR2" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' != 'Core'" />
70
+
71
+ <UsingTask TaskName="Microsoft.Build.Tasks.RemoveDir" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
72
+ <UsingTask TaskName="Microsoft.Build.Tasks.RemoveDuplicates" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
73
+ <UsingTask TaskName="Microsoft.Build.Tasks.RequiresFramework35SP1Assembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
74
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveAssemblyReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
75
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveCodeAnalysisRuleSet" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
76
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveComReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
77
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveKeySource" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
78
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveManifestFiles" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
79
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveNativeReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
80
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveNonMSBuildProjectOutput" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
81
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveSDKReference" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
82
+ <UsingTask TaskName="Microsoft.Build.Tasks.SetRidAgnosticValueForProjects" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
83
+ <UsingTask TaskName="Microsoft.Build.Tasks.SGen" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
84
+ <UsingTask TaskName="Microsoft.Build.Tasks.SignFile" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
85
+ <UsingTask TaskName="Microsoft.Build.Tasks.Telemetry" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
86
+ <UsingTask TaskName="Microsoft.Build.Tasks.Touch" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
87
+
88
+ <UsingTask TaskName="Microsoft.Build.Tasks.UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(MSBuildRuntimeType)' == 'Core' or '$(DisableOutOfProcTaskHost)' != ''" />
89
+ <UsingTask TaskName="Microsoft.Build.Tasks.UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="CLR4" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' != 'Core'" />
90
+ <UsingTask TaskName="Microsoft.Build.Tasks.UnregisterAssembly" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Runtime="CLR2" Condition="'$(DisableOutOfProcTaskHost)' == '' and '$(MSBuildRuntimeType)' != 'Core'" />
91
+
92
+ <UsingTask TaskName="Microsoft.Build.Tasks.Unzip" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
93
+ <UsingTask TaskName="Microsoft.Build.Tasks.UpdateManifest" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
94
+ <UsingTask TaskName="Microsoft.Build.Tasks.VerifyFileHash" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
95
+ <UsingTask TaskName="Microsoft.Build.Tasks.Warning" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
96
+ <UsingTask TaskName="Microsoft.Build.Tasks.WinMDExp" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
97
+ <UsingTask TaskName="Microsoft.Build.Tasks.WriteCodeFragment" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
98
+ <UsingTask TaskName="Microsoft.Build.Tasks.WriteLinesToFile" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
99
+ <UsingTask TaskName="Microsoft.Build.Tasks.XmlPeek" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
100
+ <UsingTask TaskName="Microsoft.Build.Tasks.XmlPoke" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
101
+ <UsingTask TaskName="Microsoft.Build.Tasks.XslTransformation" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
102
+ <UsingTask TaskName="Microsoft.Build.Tasks.ZipDirectory" AssemblyName="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
103
+
104
+ <!-- Roslyn tasks are now in an assembly owned and shipped by Roslyn -->
105
+ <UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.CopyRefAssembly" AssemblyFile="$(RoslynTargetsPath)\Microsoft.Build.Tasks.CodeAnalysis.dll" />
106
+ <UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.Csc" AssemblyFile="$(RoslynTargetsPath)\Microsoft.Build.Tasks.CodeAnalysis.dll" />
107
+ <UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.Vbc" AssemblyFile="$(RoslynTargetsPath)\Microsoft.Build.Tasks.CodeAnalysis.dll" />
108
+
109
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.Data.Entity.targets ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <Project>
2
+
3
+ <!--
4
+ With MSBuild 12, we've changed MSBuildToolsPath to for the first time point to a directory
5
+ outside of the .NET Framework. As a result of this, there were several targets files, of which
6
+ this was one, that were being referenced as out of MSBuildToolsPath that are now no longer there.
7
+
8
+ Thus, we are shimming those targets files so that they do still appear in MSBuildToolsPath, so that
9
+ consumers of them are not broken, but since the targets files themselves are still part of .NET,
10
+ the shim will internally simply redirect to the real copy of the targets file in the .NET Framework.
11
+ -->
12
+
13
+ <Import Project="$(MSBuildFrameworkToolsPath)\Microsoft.Data.Entity.targets" Condition="Exists('$(MSBuildFrameworkToolsPath)\Microsoft.Data.Entity.targets')" />
14
+
15
+ </Project>
msvc/MSBuild/Current/Bin/Microsoft.IO.Redist.xml ADDED
The diff for this file is too large to render. See raw diff
 
msvc/MSBuild/Current/Bin/Microsoft.Managed.After.targets ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ ***********************************************************************************************
3
+ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
4
+ created a backup copy. Incorrect changes to this file will make it
5
+ impossible to load or build your projects from the command-line or the IDE.
6
+
7
+ This file defines common build logic for all managed languaged: C#, VisualBasic, F#
8
+ It is imported after the common targets have been imported.
9
+
10
+ Copyright (C) Microsoft Corporation. All rights reserved.
11
+ ***********************************************************************************************
12
+ -->
13
+ <Project>
14
+
15
+ <!-- Define crosstargeting for static graph, so it can identify inner and outer build graph nodes -->
16
+ <PropertyGroup>
17
+ <InnerBuildProperty>TargetFramework</InnerBuildProperty>
18
+ <InnerBuildPropertyValues>TargetFrameworks</InnerBuildPropertyValues>
19
+ </PropertyGroup>
20
+
21
+ <PropertyGroup Condition="'$(IsGraphBuild)' == 'true'">
22
+ <AddTransitiveProjectReferencesInStaticGraph Condition="'$(AddTransitiveProjectReferencesInStaticGraph)' == '' and '$(UsingMicrosoftNETSdk)' == 'true' and '$(DisableTransitiveProjectReferences)' != 'true'">true</AddTransitiveProjectReferencesInStaticGraph>
23
+ </PropertyGroup>
24
+
25
+ <ItemGroup Condition="'$(IsGraphBuild)' == 'true'">
26
+ <!-- WPF projects generate a project with a random name at build time and then build the project via the IBuildEngine callbacks.
27
+ Detect WPF, and exclude the generated project from static graph isolation constraint checking.
28
+ Escape the item to avoid eager evaluation of the wildcards.
29
+ -->
30
+ <GraphIsolationExemptReference
31
+ Condition="'$(UseWPF)' == 'true' or '@(Page)' != '' or '@(ApplicationDefinition)' != '' or '@(XamlPage)' != '' or '@(XamlAppDef)' != ''"
32
+ Include="$([MSBuild]::Escape('$(MSBuildProjectDirectory)\$(MSBuildProjectName)*_wpftmp$(MSBuildProjectExtension)'))" />
33
+ </ItemGroup>
34
+
35
+ <!--
36
+ Properties for extension of ProjectReferenceTargets.
37
+ Append any current value which may have been provided in a Directory.Build.props since the intent was likely to append, not prepend.
38
+ -->
39
+ <PropertyGroup Condition="'$(IsGraphBuild)' == 'true' and '$(IsCrossTargetingBuild)' != 'true'">
40
+ <!-- Empty case is for builds which do not import the target files that set BuildProjectReferences -->
41
+ <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets</_MainReferenceTargetForBuild>
42
+ <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath</_MainReferenceTargetForBuild>
43
+
44
+ <ProjectReferenceTargetsForBuild>$(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild)</ProjectReferenceTargetsForBuild>
45
+
46
+ <!-- Publish has the same logic as Build for the main reference target except it also takes $(NoBuild) into account. -->
47
+ <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath</_MainReferenceTargetForPublish>
48
+ <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild)</_MainReferenceTargetForPublish>
49
+ <ProjectReferenceTargetsForPublish>GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish)</ProjectReferenceTargetsForPublish>
50
+
51
+ <!-- When DeployOnBuild=true, the Publish target is hooked to the Build target -->
52
+ <ProjectReferenceTargetsForBuild Condition="'$(DeployOnBuild)' == 'true'">$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish)</ProjectReferenceTargetsForBuild>
53
+ <ProjectReferenceTargetsForRebuild Condition="'$(DeployOnBuild)' == 'true'">$(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish)</ProjectReferenceTargetsForRebuild>
54
+
55
+ <ProjectReferenceTargetsForGetCopyToPublishDirectoryItems>GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems)</ProjectReferenceTargetsForGetCopyToPublishDirectoryItems>
56
+ </PropertyGroup>
57
+ <PropertyGroup Condition="'$(IsGraphBuild)' == 'true' and '$(IsCrossTargetingBuild)' == 'true'">
58
+ <ProjectReferenceTargetsForBuild>.default;$(ProjectReferenceTargetsForBuild)</ProjectReferenceTargetsForBuild>
59
+ </PropertyGroup>
60
+ <PropertyGroup Condition="'$(IsGraphBuild)' == 'true'">
61
+ <ProjectReferenceTargetsForClean>Clean;$(ProjectReferenceTargetsForClean)</ProjectReferenceTargetsForClean>
62
+ <ProjectReferenceTargetsForRebuild>$(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild)</ProjectReferenceTargetsForRebuild>
63
+ </PropertyGroup>
64
+
65
+ <ItemGroup Condition="'$(IsGraphBuild)' == 'true'">
66
+ <ProjectReferenceTargets Include="Build" Targets="$(ProjectReferenceTargetsForBuildInOuterBuild)" Condition=" '$(ProjectReferenceTargetsForBuildInOuterBuild)' != '' " OuterBuild="true" />
67
+ <ProjectReferenceTargets Include="Build" Targets="GetTargetFrameworks" OuterBuild="true" SkipNonexistentTargets="true" Condition="'$(IsCrossTargetingBuild)' != 'true'" />
68
+ <ProjectReferenceTargets Include="Build" Targets="$(ProjectReferenceTargetsForBuild)" Condition=" '$(ProjectReferenceTargetsForBuild)' != '' " />
69
+
70
+ <ProjectReferenceTargets Include="Clean" Targets="$(ProjectReferenceTargetsForCleanInOuterBuild)" Condition=" '$(ProjectReferenceTargetsForCleanInOuterBuild)' != '' " OuterBuild="true" />
71
+ <ProjectReferenceTargets Include="Clean" Targets="GetTargetFrameworks" OuterBuild="true" SkipNonexistentTargets="true" Condition="'$(IsCrossTargetingBuild)' != 'true'" />
72
+ <ProjectReferenceTargets Include="Clean" Targets="$(ProjectReferenceTargetsForClean)" Condition=" '$(ProjectReferenceTargetsForClean)' != '' " />
73
+
74
+ <!--
75
+ Note: SkipNonexistentTargets="true" on the following three items means that an outer build node's call to its existent GetTargetFrameworks target will fail if its inner build nodes don't define GetTargetFrameworksWithPlatformForSingleTargetFrameworks.
76
+ This is necessary since the P2P protocol cannot express the targets called from the outer build to the inner build.
77
+ -->
78
+ <ProjectReferenceTargets Include="Build" Targets="GetTargetFrameworksWithPlatformForSingleTargetFramework" SkipNonexistentTargets="true" Condition="'$(IsCrossTargetingBuild)' != 'true'" />
79
+ <ProjectReferenceTargets Include="Clean" Targets="GetTargetFrameworksWithPlatformForSingleTargetFramework" SkipNonexistentTargets="true" Condition="'$(IsCrossTargetingBuild)' != 'true'" />
80
+ <ProjectReferenceTargets Include="Rebuild" Targets="GetTargetFrameworksWithPlatformForSingleTargetFramework" SkipNonexistentTargets="true" Condition="'$(IsCrossTargetingBuild)' != 'true'" />
81
+
82
+ <ProjectReferenceTargets Include="Rebuild" Targets="$(ProjectReferenceTargetsForRebuild)" Condition=" '$(ProjectReferenceTargetsForRebuild)' != '' " />
83
+
84
+ <ProjectReferenceTargets Include="Publish" Targets="$(ProjectReferenceTargetsForPublish)" Condition=" '$(ProjectReferenceTargetsForPublish)' != '' " />
85
+
86
+ <ProjectReferenceTargets Include="GetCopyToPublishDirectoryItems" Targets="$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems)" Condition=" '$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems)' != '' " />
87
+ </ItemGroup>
88
+
89
+ </Project>
node/node_modules/yarn/LICENSE ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 2-Clause License
2
+
3
+ For Yarn software
4
+
5
+ Copyright (c) 2016-present, Yarn Contributors. All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
21
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
24
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
node/node_modules/yarn/README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p align="center">
2
+ <a href="https://yarnpkg.com/">
3
+ <img alt="Yarn" src="https://github.com/yarnpkg/assets/blob/master/yarn-kitten-full.png?raw=true" width="546">
4
+ </a>
5
+ </p>
6
+
7
+ <p align="center">
8
+ Fast, reliable, and secure dependency management.
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://circleci.com/gh/yarnpkg/yarn"><img alt="Circle Status" src="https://circleci.com/gh/yarnpkg/yarn.svg?style=shield&circle-token=5f0a78473b0f440afb218bf2b82323cc6b3cb43f"></a>
13
+ <a href="https://ci.appveyor.com/project/kittens/yarn/branch/master"><img alt="Appveyor Status" src="https://ci.appveyor.com/api/projects/status/0xdv8chwe2kmk463?svg=true"></a>
14
+ <a href="https://dev.azure.com/yarnpkg/yarn/_build"><img alt="Azure Pipelines status" src="https://dev.azure.com/yarnpkg/yarn/_apis/build/status/Yarn%20Acceptance%20Tests"></a>
15
+ <a href="https://discord.gg/yarnpkg"><img alt="Discord Chat" src="https://img.shields.io/discord/226791405589233664.svg"></a>
16
+ <a href="http://commitizen.github.io/cz-cli/"><img alt="Commitizen friendly" src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg"></a>
17
+ </p>
18
+
19
+ ---
20
+
21
+ **Fast:** Yarn caches every package it has downloaded, so it never needs to download the same package again. It also does almost everything concurrently to maximize resource utilization. This means even faster installs.
22
+
23
+ **Reliable:** Using a detailed but concise lockfile format and a deterministic algorithm for install operations, Yarn is able to guarantee that any installation that works on one system will work exactly the same on another system.
24
+
25
+ **Secure:** Yarn uses checksums to verify the integrity of every installed package before its code is executed.
26
+
27
+ ## Features
28
+
29
+ * **Offline Mode.** If you've installed a package before, then you can install it again without an internet connection.
30
+ * **Deterministic.** The same dependencies will be installed in the same exact way on any machine, regardless of installation order.
31
+ * **Network Performance.** Yarn efficiently queues requests and avoids request waterfalls in order to maximize network utilization.
32
+ * **Network Resilience.** A single request that fails will not cause the entire installation to fail. Requests are automatically retried upon failure.
33
+ * **Flat Mode.** Yarn resolves mismatched versions of dependencies to a single version to avoid creating duplicates.
34
+ * **More emojis.** 🐈
35
+
36
+ ## Installing Yarn
37
+
38
+ Read the [Installation Guide](https://yarnpkg.com/en/docs/install) on our website for detailed instructions on how to install Yarn.
39
+
40
+ ## Using Yarn
41
+
42
+ Read the [Usage Guide](https://yarnpkg.com/en/docs/usage) on our website for detailed instructions on how to use Yarn.
43
+
44
+ ## Contributing to Yarn
45
+
46
+ Contributions are always welcome, no matter how large or small. Substantial feature requests should be proposed as an [RFC](https://github.com/yarnpkg/rfcs). Before contributing, please read the [code of conduct](CODE_OF_CONDUCT.md).
47
+
48
+ See [Contributing](https://yarnpkg.com/org/contributing/).
49
+
50
+ ## Prior art
51
+
52
+ Yarn wouldn't exist if it wasn't for excellent prior art. Yarn has been inspired by the following projects:
53
+
54
+ - [Bundler](https://github.com/bundler/bundler)
55
+ - [Cargo](https://github.com/rust-lang/cargo)
56
+ - [npm](https://github.com/npm/cli)
57
+
58
+ ## Credits
59
+
60
+ Thanks to [Sam Holmes](https://github.com/samholmes) for donating the npm package name!
node/node_modules/yarn/bin/yarn ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ argv0=$(echo "$0" | sed -e 's,\\,/,g')
3
+ basedir=$(dirname "$(readlink "$0" || echo "$argv0")")
4
+
5
+ case "$(uname -s)" in
6
+ Darwin) basedir="$( cd "$( dirname "$argv0" )" && pwd )";;
7
+ Linux) basedir=$(dirname "$(readlink -f "$0" || echo "$argv0")");;
8
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
9
+ *MSYS*) basedir=`cygpath -w "$basedir"`;;
10
+ esac
11
+
12
+ command_exists() {
13
+ command -v "$1" >/dev/null 2>&1;
14
+ }
15
+
16
+ if command_exists node; then
17
+ if [ "$YARN_FORCE_WINPTY" = 1 ] || command_exists winpty && test -t 1; then
18
+ winpty node "$basedir/yarn.js" "$@"
19
+ else
20
+ exec node "$basedir/yarn.js" "$@"
21
+ fi
22
+ ret=$?
23
+ # Debian and Ubuntu use "nodejs" as the name of the binary, not "node", so we
24
+ # search for that too. See:
25
+ # https://lists.debian.org/debian-devel-announce/2012/07/msg00002.html
26
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614907
27
+ elif command_exists nodejs; then
28
+ exec nodejs "$basedir/yarn.js" "$@"
29
+ ret=$?
30
+ else
31
+ >&2 echo 'Yarn requires Node.js 4.0 or higher to be installed.'
32
+ ret=1
33
+ fi
34
+
35
+ exit $ret
node/node_modules/yarn/bin/yarn.cmd ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ @echo off
2
+ node "%~dp0\yarn.js" %*
node/node_modules/yarn/bin/yarn.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+
3
+ /* eslint-disable no-var */
4
+ /* eslint-disable flowtype/require-valid-file-annotation */
5
+ 'use strict';
6
+
7
+ var ver = process.versions.node;
8
+ var majorVer = parseInt(ver.split('.')[0], 10);
9
+
10
+ if (majorVer < 4) {
11
+ console.error('Node version ' + ver + ' is not supported, please use Node.js 4.0 or higher.');
12
+ process.exit(1); // eslint-disable-line no-process-exit
13
+ } else {
14
+ try {
15
+ require(__dirname + '/../lib/v8-compile-cache.js');
16
+ } catch (err) {
17
+ // We don't have/need this on legacy builds and dev builds
18
+ }
19
+
20
+ // Just requiring this package will trigger a yarn run since the
21
+ // `require.main === module` check inside `cli/index.js` will always
22
+ // be truthy when built with webpack :(
23
+ // `lib/cli` may be `lib/cli/index.js` or `lib/cli.js` depending on the build.
24
+ var cli = require(__dirname + '/../lib/cli');
25
+ if (!cli.autoRun) {
26
+ cli.default().catch(function(error) {
27
+ console.error(error.stack || error.message || error);
28
+ process.exitCode = 1;
29
+ });
30
+ }
31
+ }
node/node_modules/yarn/bin/yarnpkg ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/usr/bin/env node
2
+ require('./yarn.js');
node/node_modules/yarn/bin/yarnpkg.cmd ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ @echo off
2
+ "%~dp0\yarn.cmd" %*
node/node_modules/yarn/lib/cli.js ADDED
The diff for this file is too large to render. See raw diff
 
node/node_modules/yarn/lib/v8-compile-cache.js ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ const Module = require('module');
4
+ const crypto = require('crypto');
5
+ const fs = require('fs');
6
+ const path = require('path');
7
+ const vm = require('vm');
8
+ const os = require('os');
9
+
10
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
11
+
12
+ //------------------------------------------------------------------------------
13
+ // FileSystemBlobStore
14
+ //------------------------------------------------------------------------------
15
+
16
+ class FileSystemBlobStore {
17
+ constructor(directory, prefix) {
18
+ const name = prefix ? slashEscape(prefix + '.') : '';
19
+ this._blobFilename = path.join(directory, name + 'BLOB');
20
+ this._mapFilename = path.join(directory, name + 'MAP');
21
+ this._lockFilename = path.join(directory, name + 'LOCK');
22
+ this._directory = directory;
23
+ this._load();
24
+ }
25
+
26
+ has(key, invalidationKey) {
27
+ if (hasOwnProperty.call(this._memoryBlobs, key)) {
28
+ return this._invalidationKeys[key] === invalidationKey;
29
+ } else if (hasOwnProperty.call(this._storedMap, key)) {
30
+ return this._storedMap[key][0] === invalidationKey;
31
+ }
32
+ return false;
33
+ }
34
+
35
+ get(key, invalidationKey) {
36
+ if (hasOwnProperty.call(this._memoryBlobs, key)) {
37
+ if (this._invalidationKeys[key] === invalidationKey) {
38
+ return this._memoryBlobs[key];
39
+ }
40
+ } else if (hasOwnProperty.call(this._storedMap, key)) {
41
+ const mapping = this._storedMap[key];
42
+ if (mapping[0] === invalidationKey) {
43
+ return this._storedBlob.slice(mapping[1], mapping[2]);
44
+ }
45
+ }
46
+ }
47
+
48
+ set(key, invalidationKey, buffer) {
49
+ this._invalidationKeys[key] = invalidationKey;
50
+ this._memoryBlobs[key] = buffer;
51
+ this._dirty = true;
52
+ }
53
+
54
+ delete(key) {
55
+ if (hasOwnProperty.call(this._memoryBlobs, key)) {
56
+ this._dirty = true;
57
+ delete this._memoryBlobs[key];
58
+ }
59
+ if (hasOwnProperty.call(this._invalidationKeys, key)) {
60
+ this._dirty = true;
61
+ delete this._invalidationKeys[key];
62
+ }
63
+ if (hasOwnProperty.call(this._storedMap, key)) {
64
+ this._dirty = true;
65
+ delete this._storedMap[key];
66
+ }
67
+ }
68
+
69
+ isDirty() {
70
+ return this._dirty;
71
+ }
72
+
73
+ save() {
74
+ const dump = this._getDump();
75
+ const blobToStore = Buffer.concat(dump[0]);
76
+ const mapToStore = JSON.stringify(dump[1]);
77
+
78
+ try {
79
+ mkdirpSync(this._directory);
80
+ fs.writeFileSync(this._lockFilename, 'LOCK', {flag: 'wx'});
81
+ } catch (error) {
82
+ // Swallow the exception if we fail to acquire the lock.
83
+ return false;
84
+ }
85
+
86
+ try {
87
+ fs.writeFileSync(this._blobFilename, blobToStore);
88
+ fs.writeFileSync(this._mapFilename, mapToStore);
89
+ } catch (error) {
90
+ throw error;
91
+ } finally {
92
+ fs.unlinkSync(this._lockFilename);
93
+ }
94
+
95
+ return true;
96
+ }
97
+
98
+ _load() {
99
+ try {
100
+ this._storedBlob = fs.readFileSync(this._blobFilename);
101
+ this._storedMap = JSON.parse(fs.readFileSync(this._mapFilename));
102
+ } catch (e) {
103
+ this._storedBlob = Buffer.alloc(0);
104
+ this._storedMap = {};
105
+ }
106
+ this._dirty = false;
107
+ this._memoryBlobs = {};
108
+ this._invalidationKeys = {};
109
+ }
110
+
111
+ _getDump() {
112
+ const buffers = [];
113
+ const newMap = {};
114
+ let offset = 0;
115
+
116
+ function push(key, invalidationKey, buffer) {
117
+ buffers.push(buffer);
118
+ newMap[key] = [invalidationKey, offset, offset + buffer.length];
119
+ offset += buffer.length;
120
+ }
121
+
122
+ for (const key of Object.keys(this._memoryBlobs)) {
123
+ const buffer = this._memoryBlobs[key];
124
+ const invalidationKey = this._invalidationKeys[key];
125
+ push(key, invalidationKey, buffer);
126
+ }
127
+
128
+ for (const key of Object.keys(this._storedMap)) {
129
+ if (hasOwnProperty.call(newMap, key)) continue;
130
+ const mapping = this._storedMap[key];
131
+ const buffer = this._storedBlob.slice(mapping[1], mapping[2]);
132
+ push(key, mapping[0], buffer);
133
+ }
134
+
135
+ return [buffers, newMap];
136
+ }
137
+ }
138
+
139
+ //------------------------------------------------------------------------------
140
+ // NativeCompileCache
141
+ //------------------------------------------------------------------------------
142
+
143
+ class NativeCompileCache {
144
+ constructor() {
145
+ this._cacheStore = null;
146
+ this._previousModuleCompile = null;
147
+ }
148
+
149
+ setCacheStore(cacheStore) {
150
+ this._cacheStore = cacheStore;
151
+ }
152
+
153
+ install() {
154
+ const self = this;
155
+ this._previousModuleCompile = Module.prototype._compile;
156
+ Module.prototype._compile = function(content, filename) {
157
+ const mod = this;
158
+ function require(id) {
159
+ return mod.require(id);
160
+ }
161
+ require.resolve = function(request) {
162
+ return Module._resolveFilename(request, mod);
163
+ };
164
+ require.main = process.mainModule;
165
+
166
+ // Enable support to add extra extension types
167
+ require.extensions = Module._extensions;
168
+ require.cache = Module._cache;
169
+
170
+ const dirname = path.dirname(filename);
171
+
172
+ const compiledWrapper = self._moduleCompile(filename, content);
173
+
174
+ // We skip the debugger setup because by the time we run, node has already
175
+ // done that itself.
176
+
177
+ const args = [mod.exports, require, mod, filename, dirname, process, global];
178
+ return compiledWrapper.apply(mod.exports, args);
179
+ };
180
+ }
181
+
182
+ uninstall() {
183
+ Module.prototype._compile = this._previousModuleCompile;
184
+ }
185
+
186
+ _moduleCompile(filename, content) {
187
+ // https://github.com/nodejs/node/blob/v7.5.0/lib/module.js#L511
188
+
189
+ // Remove shebang
190
+ var contLen = content.length;
191
+ if (contLen >= 2) {
192
+ if (content.charCodeAt(0) === 35/*#*/ &&
193
+ content.charCodeAt(1) === 33/*!*/) {
194
+ if (contLen === 2) {
195
+ // Exact match
196
+ content = '';
197
+ } else {
198
+ // Find end of shebang line and slice it off
199
+ var i = 2;
200
+ for (; i < contLen; ++i) {
201
+ var code = content.charCodeAt(i);
202
+ if (code === 10/*\n*/ || code === 13/*\r*/) break;
203
+ }
204
+ if (i === contLen) {
205
+ content = '';
206
+ } else {
207
+ // Note that this actually includes the newline character(s) in the
208
+ // new output. This duplicates the behavior of the regular
209
+ // expression that was previously used to replace the shebang line
210
+ content = content.slice(i);
211
+ }
212
+ }
213
+ }
214
+ }
215
+
216
+ // create wrapper function
217
+ var wrapper = Module.wrap(content);
218
+
219
+ var invalidationKey = crypto
220
+ .createHash('sha1')
221
+ .update(content, 'utf8')
222
+ .digest('hex');
223
+
224
+ var buffer = this._cacheStore.get(filename, invalidationKey);
225
+
226
+ var script = new vm.Script(wrapper, {
227
+ filename: filename,
228
+ lineOffset: 0,
229
+ displayErrors: true,
230
+ cachedData: buffer,
231
+ produceCachedData: true,
232
+ });
233
+
234
+ if (script.cachedDataProduced) {
235
+ this._cacheStore.set(filename, invalidationKey, script.cachedData);
236
+ } else if (script.cachedDataRejected) {
237
+ this._cacheStore.delete(filename);
238
+ }
239
+
240
+ var compiledWrapper = script.runInThisContext({
241
+ filename: filename,
242
+ lineOffset: 0,
243
+ columnOffset: 0,
244
+ displayErrors: true,
245
+ });
246
+
247
+ return compiledWrapper;
248
+ }
249
+ }
250
+
251
+ //------------------------------------------------------------------------------
252
+ // utilities
253
+ //
254
+ // https://github.com/substack/node-mkdirp/blob/f2003bb/index.js#L55-L98
255
+ // https://github.com/zertosh/slash-escape/blob/e7ebb99/slash-escape.js
256
+ //------------------------------------------------------------------------------
257
+
258
+ function mkdirpSync(p_) {
259
+ _mkdirpSync(path.resolve(p_), parseInt('0777', 8) & ~process.umask());
260
+ }
261
+
262
+ function _mkdirpSync(p, mode) {
263
+ try {
264
+ fs.mkdirSync(p, mode);
265
+ } catch (err0) {
266
+ if (err0.code === 'ENOENT') {
267
+ _mkdirpSync(path.dirname(p));
268
+ _mkdirpSync(p);
269
+ } else {
270
+ try {
271
+ const stat = fs.statSync(p);
272
+ if (!stat.isDirectory()) { throw err0; }
273
+ } catch (err1) {
274
+ throw err0;
275
+ }
276
+ }
277
+ }
278
+ }
279
+
280
+ function slashEscape(str) {
281
+ const ESCAPE_LOOKUP = {
282
+ '\\': 'zB',
283
+ ':': 'zC',
284
+ '/': 'zS',
285
+ '\x00': 'z0',
286
+ 'z': 'zZ',
287
+ };
288
+ return str.replace(/[\\:\/\x00z]/g, match => (ESCAPE_LOOKUP[match]));
289
+ }
290
+
291
+ function supportsCachedData() {
292
+ const script = new vm.Script('""', {produceCachedData: true});
293
+ // chakracore, as of v1.7.1.0, returns `false`.
294
+ return script.cachedDataProduced === true;
295
+ }
296
+
297
+ function getCacheDir() {
298
+ // Avoid cache ownership issues on POSIX systems.
299
+ const dirname = typeof process.getuid === 'function'
300
+ ? 'v8-compile-cache-' + process.getuid()
301
+ : 'v8-compile-cache';
302
+ const version = typeof process.versions.v8 === 'string'
303
+ ? process.versions.v8
304
+ : typeof process.versions.chakracore === 'string'
305
+ ? 'chakracore-' + process.versions.chakracore
306
+ : 'node-' + process.version;
307
+ const cacheDir = path.join(os.tmpdir(), dirname, version);
308
+ return cacheDir;
309
+ }
310
+
311
+ function getParentName() {
312
+ // `module.parent.filename` is undefined or null when:
313
+ // * node -e 'require("v8-compile-cache")'
314
+ // * node -r 'v8-compile-cache'
315
+ // * Or, requiring from the REPL.
316
+ const parentName = module.parent && typeof module.parent.filename === 'string'
317
+ ? module.parent.filename
318
+ : process.cwd();
319
+ return parentName;
320
+ }
321
+
322
+ //------------------------------------------------------------------------------
323
+ // main
324
+ //------------------------------------------------------------------------------
325
+
326
+ if (!process.env.DISABLE_V8_COMPILE_CACHE && supportsCachedData()) {
327
+ const cacheDir = getCacheDir();
328
+ const prefix = getParentName();
329
+ const blobStore = new FileSystemBlobStore(cacheDir, prefix);
330
+
331
+ const nativeCompileCache = new NativeCompileCache();
332
+ nativeCompileCache.setCacheStore(blobStore);
333
+ nativeCompileCache.install();
334
+
335
+ process.once('exit', code => {
336
+ if (blobStore.isDirty()) {
337
+ blobStore.save();
338
+ }
339
+ nativeCompileCache.uninstall();
340
+ });
341
+ }
342
+
343
+ module.exports.__TEST__ = {
344
+ FileSystemBlobStore,
345
+ NativeCompileCache,
346
+ mkdirpSync,
347
+ slashEscape,
348
+ supportsCachedData,
349
+ getCacheDir,
350
+ getParentName,
351
+ };
node/node_modules/yarn/package.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "yarn",
3
+ "installationMethod": "tar",
4
+ "version": "1.22.22",
5
+ "packageManager": "yarn@1.22.17",
6
+ "license": "BSD-2-Clause",
7
+ "preferGlobal": true,
8
+ "description": "📦🐈 Fast, reliable, and secure dependency management.",
9
+ "resolutions": {
10
+ "sshpk": "^1.14.2"
11
+ },
12
+ "engines": {
13
+ "node": ">=4.0.0"
14
+ },
15
+ "repository": "yarnpkg/yarn",
16
+ "bin": {
17
+ "yarn": "./bin/yarn.js",
18
+ "yarnpkg": "./bin/yarn.js"
19
+ },
20
+ "scripts": {
21
+ "preinstall": ":; (node ./preinstall.js > /dev/null 2>&1 || true)"
22
+ },
23
+ "config": {
24
+ "commitizen": {
25
+ "path": "./node_modules/cz-conventional-changelog"
26
+ }
27
+ }
28
+ }
node/node_modules/yarn/preinstall.js ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // This file is a bit weird, so let me explain with some context: we're working
2
+ // to implement a tool called "Corepack" in Node. This tool will allow us to
3
+ // provide a Yarn shim to everyone using Node, meaning that they won't need to
4
+ // run `npm install -g yarn`.
5
+ //
6
+ // Still, we don't want to break the experience of people that already use `npm
7
+ // install -g yarn`! And one annoying thing with npm is that they install their
8
+ // binaries directly inside the Node bin/ folder. And Because of this, they
9
+ // refuse to overwrite binaries when they detect they don't belong to npm. Which
10
+ // means that, since the "yarn" Corepack symlink belongs to Corepack and not npm,
11
+ // running `npm install -g yarn` would crash by refusing to override the binary :/
12
+ //
13
+ // And thus we have this preinstall script, which checks whether Yarn is being
14
+ // installed as a global binary, and remove the existing symlink if it detects
15
+ // it belongs to Corepack. Since preinstall scripts run, in npm, before the global
16
+ // symlink is created, we bypass this way the ownership check.
17
+ //
18
+ // More info:
19
+ // https://github.com/arcanis/pmm/issues/6
20
+
21
+ if (process.env.npm_config_global) {
22
+ var cp = require('child_process');
23
+ var fs = require('fs');
24
+ var path = require('path');
25
+
26
+ try {
27
+ var targetPath = cp.execFileSync(process.execPath, [process.env.npm_execpath, 'bin', '-g'], {
28
+ encoding: 'utf8',
29
+ stdio: ['ignore', undefined, 'ignore'],
30
+ }).replace(/\n/g, '');
31
+
32
+ var manifest = require('./package.json');
33
+ var binNames = typeof manifest.bin === 'string'
34
+ ? [manifest.name.replace(/^@[^\/]+\//, '')]
35
+ : typeof manifest.bin === 'object' && manifest.bin !== null
36
+ ? Object.keys(manifest.bin)
37
+ : [];
38
+
39
+ binNames.forEach(function (binName) {
40
+ var binPath = path.join(targetPath, binName);
41
+
42
+ var binTarget;
43
+ try {
44
+ binTarget = fs.readlinkSync(binPath);
45
+ } catch (err) {
46
+ return;
47
+ }
48
+
49
+ if (binTarget.startsWith('../lib/node_modules/corepack/')) {
50
+ try {
51
+ fs.unlinkSync(binPath);
52
+ } catch (err) {
53
+ return;
54
+ }
55
+ }
56
+ });
57
+ } catch (err) {
58
+ // ignore errors
59
+ }
60
+ }
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-313.pyc ADDED
Binary file (13.1 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-313.pyc ADDED
Binary file (7.71 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-313.pyc ADDED
Binary file (40 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-313.pyc ADDED
Binary file (2.24 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-313.pyc ADDED
Binary file (5.73 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-313.pyc ADDED
Binary file (9.48 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-313.pyc ADDED
Binary file (18.6 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (24 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-313.pyc ADDED
Binary file (28 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-313.pyc ADDED
Binary file (6.62 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-313.pyc ADDED
Binary file (86.9 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-313.pyc ADDED
Binary file (58 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-313.pyc ADDED
Binary file (7.78 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-313.pyc ADDED
Binary file (2.15 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-313.pyc ADDED
Binary file (89.4 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (200 Bytes). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (566 Bytes). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-313.pyc ADDED
Binary file (3.36 kB). View file
 
node24/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/version.cpython-313.pyc ADDED
Binary file (19.5 kB). View file
 
python/Lib/site-packages/hf_transfer-0.1.9.dist-info/licenses/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2023 HuggingFace Inc.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
python/Lib/site-packages/hf_transfer/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (350 Bytes). View file