-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PropertyReassignment Resource string null #736
Comments
Need to call Strings.Initialize() from BinlogTool, I'm on it |
Uploaded binlogtool 1.0.9 |
Arcade fix: dotnet/arcade#14313 |
@KirillOsenkov I am seeing this on Linux after updating the SDK to 8.0.201 (link). It does not fail on Windows. As a workaround I am going to manually invoke |
which version of StructuredLogger.dll is being used there? This should be fixed, let's get to the bottom of why this is not fixed. |
I am on version 2.2.206. This is the binlog that failed to be inspected. |
just to confirm, at runtime, when the exception happens, can you verify that the actual .dll that throws the exception is the one you expect? could it be that you need to clean and it's an old version that's running? |
Verified from VSCode's debug console that the |
could you paste the full callstack please? maybe even a repro? |
The callstack is this:
The F# function that reads the binlog is in https://github.com/fsprojects/FAKE/blob/master/src/app/Fake.DotNet.MSBuild/BinLog.fs. To reproduce you can clone https://github.com/teo-tsirpanis/Farkle/tree/3a70e21ce78774dbafdeea6ac267d24dc55fd9a2 (the commit just before my workaround) and run |
related: fsprojects/FAKE#2744 (comment) |
The fix should be included next time we publish the NuGet package, hopefully soon. The current workaround is to call Strings.Initialize() manually. Calling it twice is benign as the method is idempotent. |
This fix is available in https://www.nuget.org/packages/MSBuild.StructuredLogger/2.2.240 |
Comntext
Binlogtool started failing in the internal AzDO pipeline (example [internal link]):
Further info
AFK now so cannot analyze (will do later this week), but we've merged fix recently that should express property reassignment via PropertyReassignmentEventArgs instead of a plain message - so I guess a resource for the event is missing (though it is here: https://github.com/KirillOsenkov/MSBuildStructuredLog/blob/main/src/StructuredLogger/Strings/Strings.json#L37)
The text was updated successfully, but these errors were encountered: