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

Fix running self-contained apps on Windows #2358

Merged
merged 5 commits into from
Mar 10, 2020

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Mar 9, 2020

Description

Always copy testhost.exe to the output directory to allow applications that are self contained to run. When application defines both RuntimeIdentifier and OutputType = Exe it will be packaged as self-contained and the test host from .nuget will not be able to resolve the hostfxr dll, because dotnet will try to find it next to the application. See dotnet/runtime#3569 (comment) and below for more information on the behavior.

@HeroMaxPower
Copy link
Contributor

Your running into the same problem i was
It appears that this test is flaky
Microsoft.VisualStudio.TraceDataCollector.UnitTests.VanguardTests.StartShouldThrowOnTimeout

@nohwnd nohwnd merged commit 3726dae into microsoft:master Mar 10, 2020
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.

3 participants