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

Add support for reading runsettings passed by the client #69792

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

dibarbet
Copy link
Member

This is the final (known) change for dotnet/vscode-csharp#5719

Adds support for passing runsettings to vstest.
Client side PR:

@dibarbet dibarbet requested a review from a team as a code owner August 31, 2023 22:53
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 31, 2023
Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exciting!


try
{
var contents = await File.ReadAllTextAsync(runSettingsPath, cancellationToken);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this line be wrapped in IOUtilities.PerformIOAsync?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm not sure. I think I would only catch and log the exception regardless of what kind it is? Not sure if I would do anything different if it wasn't a normal IO exception?

@dibarbet dibarbet merged commit cfb2009 into dotnet:main Sep 8, 2023
22 of 24 checks passed
@dibarbet dibarbet deleted the runsettings branch September 8, 2023 00:15
@ghost ghost added this to the Next milestone Sep 8, 2023
@Cosifne Cosifne modified the milestones: Next, 17.8 P3 Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants