Skip to content
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

C#: Don't inject compiler flags when dotnet is used to execute an application. #15764

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Feb 29, 2024

In this PR we improve the C# tracer such that eg. run is not recognised as a dotnet SDK sub-command but rather an argument to the program being executed (if dotnet is used to invoke an application).

dotnet <path-to-application> run my other arguments

Before this change, this worked by accident if the path to the application wasn't absolute (starting with /).

@michaelnebel michaelnebel merged commit 11142df into github:main Mar 4, 2024
13 of 16 checks passed
@michaelnebel michaelnebel deleted the csharp/csharptracerrunapp branch March 4, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants