-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/9.0] [DiagnosticSource] Add version event to EventSources us…
…ed for out-of-proc monitoring (#107748) * Add a version event to DS event sources. * Tweaks. * Code review. * Code review, bug fixes, and tests. * Fix GenerateFileFromTemplate and make it work with incremental build * Test fixes and code review. * Apply suggestions from code review --------- Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com> Co-authored-by: Eric StJohn <ericstj@microsoft.com> Co-authored-by: Tarek Mahmoud Sayed <10833894+tarekgh@users.noreply.github.com>
- Loading branch information
1 parent
db5dcbf
commit a1f25d8
Showing
6 changed files
with
139 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/libraries/System.Diagnostics.DiagnosticSource/src/ThisAssembly.cs.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
namespace System.Diagnostics; | ||
|
||
internal static class ThisAssembly | ||
{ | ||
private const string BuildAssemblyFileVersion = "${AssemblyFileVersion}"; | ||
|
||
public static Version AssemblyFileVersion { get; } = new(BuildAssemblyFileVersion); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters