Skip to content

Add UnitTestingGlobalOptions to External Access to make global options accessible to Unit Testing#59070

Merged
tmat merged 1 commit into
dotnet:mainfrom
tmat:UTCore
Jan 26, 2022
Merged

Add UnitTestingGlobalOptions to External Access to make global options accessible to Unit Testing#59070
tmat merged 1 commit into
dotnet:mainfrom
tmat:UTCore

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Jan 26, 2022

@tmat tmat requested a review from a team as a code owner January 26, 2022 00:42
@ghost ghost added the Area-IDE label Jan 26, 2022
@tmat
Copy link
Copy Markdown
Member Author

tmat commented Jan 26, 2022

@dotnet/roslyn-ide PTAL

[Obsolete("Use UnitTestingGlobalOptions.IsServiceHubProcessCoreClr instead")]
public static bool IsServiceHubProcessCoreClr(HostWorkspaceServices services)
{
var optionServices = services.GetRequiredService<IOptionService>();
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is problematic since we do not want global options to be accessed from remote workspace layer and potentially oop where they are not available.

@tmat tmat enabled auto-merge (squash) January 26, 2022 01:26
@tmat tmat merged commit ba2dc2b into dotnet:main Jan 26, 2022
@ghost ghost added this to the Next milestone Jan 26, 2022
@tmat tmat deleted the UTCore branch February 2, 2022 19:36
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P1 Feb 4, 2022
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.

3 participants