Skip to content

Commit 8849f0d

Browse files
committed
Add generated file comment to nuget.config
1 parent 4ca1e5e commit 8849f0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PostSharp.Engineering.BuildTools/Build/Files/NuGet/NuGetConfigGenerator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ public bool TryGenerate(
7979
packageSourceMappingElement.Add( defaultSourceMapping );
8080
}
8181

82+
// Add a comment indicating the file is generated.
83+
rootElement.AddFirst( new XComment( " This file is generated by Build.ps1 prepare/build. Do not edit manually. " ) );
84+
8285
// Add the current artifact directory.
8386
var artifactDirectory = this.GetCurrentProductDirectory( context, configuration );
8487

0 commit comments

Comments
 (0)