microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
747 stars 709 forks source link

If ConsoleWindow not available, try to find a window handle from the … #473

Closed TomKuhn closed 5 months ago

TomKuhn commented 5 months ago

Try to find a window handle on parent process

TomKuhn commented 5 months ago

Just meant as an example, for people running this from e.g a Windows Forms application and running CredentialProvider.Microsoft.exe with no console window, causing the interactive provider to fail on the broker.

TomKuhn commented 5 months ago

@microsoft-github-policy-service agree [company="Microsoft"]

embetten commented 5 months ago

Closing - please see comment on issue for more details and discussion https://github.com/microsoft/artifacts-credprovider/issues/472#issuecomment-1967597439 .