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

Remove TestableVSCredentialProvider #6084

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

donnie-msft
Copy link
Contributor

@donnie-msft donnie-msft commented Oct 4, 2024

Bug

Fixes: NuGet/Home#13836

Description

One of our test utilities attempts to generate a document without a set path, so that path becomes the root. In this case, C:\.xml.
image

The build shouldn't be writing to my root drive.
I tracked down this task item being responsible for the behavior: DocumentationProjectOutputGroupOutput
image

I attempted to set the OutputPath in this project, but it didn't change the behavior. I'm thinking since this is not an SDK style project, and it's not one of our source code projects, it's not respecting the OutputPath.

Looking for where this utility is used, I was unable to find any references to it. We have credential provider test fixtures and mocking that looks like is covering these test scenarios. Therefore, I propose removing it.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@donnie-msft donnie-msft requested a review from a team as a code owner October 4, 2024 22:41
NuGet.sln Show resolved Hide resolved
@donnie-msft donnie-msft marked this pull request as draft October 9, 2024 18:18
@donnie-msft donnie-msft marked this pull request as ready for review October 9, 2024 18:19
@kartheekp-ms
Copy link
Contributor

kartheekp-ms commented Oct 9, 2024

Thank you @donnie-msft for fixing this issue. I have encountered it multiple times but didn't get a chance to fix the issue.

@donnie-msft donnie-msft merged commit 7cb1066 into dev Oct 9, 2024
28 checks passed
@donnie-msft donnie-msft deleted the dev-donnie-msft-testableVsCredProv branch October 9, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Could not write to output file 'C:\.xml' -- 'Access to the path 'C:\.xml' is denied
4 participants