You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -198,4 +222,118 @@ public static async Task<IEnumerable<PhysicalFile>> FromFilesAsync(params string
198
222
returnitems;
199
223
}
200
224
}
225
+
226
+
/// <summary>
227
+
/// Known attributes of a <see cref="PhysicalFile"/>.
228
+
/// This can be used to set an attribute of a file using the <see cref="PhysicalFile.TrySetAttributeAsync(PhysicalFileAttribute, string)"/> method.
229
+
/// </summary>
230
+
publicenumPhysicalFileAttribute
231
+
{
232
+
/// <summary>
233
+
/// Sets the <c>AutoGen</c> attribute.
234
+
/// <para>
235
+
/// Type: <see cref="string"/>
236
+
/// </para>
237
+
/// </summary>
238
+
AutoGen,
239
+
/// <summary>
240
+
/// How the file relates to the build and deployment processes.
241
+
/// <para>
242
+
/// Type: <see cref="string"/>
243
+
/// </para>
244
+
/// </summary>
245
+
BuildAction,
246
+
/// <summary>
247
+
/// Specifies the source file will be copied to the output directory.
248
+
/// <para>
249
+
/// Type: <see cref="CopyToOutputDirectory"/>
250
+
/// </para>
251
+
/// </summary>
252
+
CopyToOutputDirectory,
253
+
/// <summary>
254
+
/// The name of the single-file generator.
255
+
/// <para>
256
+
/// Type: <see cref="string"/>
257
+
/// </para>
258
+
/// </summary>
259
+
CustomTool,
260
+
/// <summary>
261
+
/// The namespace into which the output of the custom tool is placed.
262
+
/// <para>
263
+
/// Type: <see cref="string"/>
264
+
/// </para>
265
+
/// </summary>
266
+
CustomToolNamespace,
267
+
/// <summary>
268
+
/// The other file that this file is dependent upon.
269
+
/// <para>
270
+
/// Type: <see cref="string"/>
271
+
/// </para>
272
+
/// </summary>
273
+
DependentUpon,
274
+
/// <summary>
275
+
/// Sets the <c>DesignTime</c> attribute.
276
+
/// <para>
277
+
/// Type: <see cref="string"/>
278
+
/// </para>
279
+
/// </summary>
280
+
DesignTime,
281
+
/// <summary>
282
+
/// Sets the <c>DesignTimeSharedInput</c> attribute.
283
+
/// <para>
284
+
/// Type: <see cref="bool"/>
285
+
/// </para>
286
+
/// </summary>
287
+
DesignTimeSharedInput,
288
+
/// <summary>
289
+
/// Specifies the tool that transforms a file at design time and places the output of that transformation into another file. For example, a dataset (.xsd) file comes with a default custom tool.
290
+
/// <para>
291
+
/// Type: <see cref="string"/>
292
+
/// </para>
293
+
/// </summary>
294
+
Generator,
295
+
/// <summary>
296
+
/// Sets the <c>LastGenOutput</c> attribute.
297
+
/// <para>
298
+
/// Type: <see cref="string"/>
299
+
/// </para>
300
+
/// </summary>
301
+
LastGenOutput,
302
+
/// <summary>
303
+
/// File sub-type.
304
+
/// <para>
305
+
/// Type: <see cref="string"/>
306
+
/// </para>
307
+
/// </summary>
308
+
SubType,
309
+
/// <summary>
310
+
/// Whether to show the file in Solution Explorer.
311
+
/// <para>
312
+
/// Type: <see cref="bool"/>
313
+
/// </para>
314
+
/// </summary>
315
+
Visible
316
+
}
317
+
318
+
/// <summary>
319
+
/// Defines whether a file will be copied to the build's output directory.
320
+
/// </summary>
321
+
/// <remarks>
322
+
/// Equivalent to the <c>Microsoft.VisualStudio.ProjectFlavoring.CopyToOutputDirectory</c> enum.
323
+
/// </remarks>
324
+
publicenumCopyToOutputDirectory
325
+
{
326
+
/// <summary>
327
+
/// The file will never be copied.
328
+
/// </summary>
329
+
DoNotCopy,
330
+
/// <summary>
331
+
/// The file will always be copied.
332
+
/// </summary>
333
+
Always,
334
+
/// <summary>
335
+
/// The file will be copied, but only if it is newer that the file that is already in the build's output directory.
0 commit comments