Open
Description
Hey guys!
First of all, thank you for awesome work!
I am having trouble when building my .net core 7 app in Release mode, basically, I have this:
[Time("Inserted {x}")]
private async Task InsertGame(long? x, Game game)
When I debug it, it works like a charm, but, when I try to create a Release build, it throws this error:
Fody/MethodTimer: Parameter 'x' is not available on the async state machine. Probably it has been optimized away by the compiler. Please update the format so it excludes this parameter.
Tried googling but couldn't find anything on this.
Can you guys please advise what to do from here?
Thanks!
Metadata
Assignees
Labels
No labels