Skip to content

Commit 5f98f2a

Browse files
committed
Add assembly attributes to bazel build script
1 parent 6731bcc commit 5f98f2a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

csharp/scripts/gen-assembly-info.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ def options():
2121
output_file_contents = f"""
2222
using System.Reflection;
2323
24-
[assembly: XX("{opts.name}")]
25-
[assembly: YY("ZZ")]
24+
[assembly: AssemblyTitle("{opts.name}")]
25+
[assembly: AssemblyProduct("CodeQL")]
26+
[assembly: AssemblyVersion("1.0.0.0")]
27+
[assembly: AssemblyFileVersion("1.0.0.0")]
28+
[assembly: AssemblyCompany("GitHub")]
29+
[assembly: AssemblyCopyright("Copyright © 2024 GitHub")]
30+
31+
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
32+
2633
"""
2734
output_file.write_text(output_file_contents)

0 commit comments

Comments
 (0)