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

Should source-built .NET SDK include testhost.exe by default #4099

Open
MichaelSimons opened this issue Feb 6, 2024 Discussed in #4095 · 2 comments
Open

Should source-built .NET SDK include testhost.exe by default #4099

MichaelSimons opened this issue Feb 6, 2024 Discussed in #4095 · 2 comments
Labels
area-product-experience Improvements in the end-user's product experience

Comments

@MichaelSimons
Copy link
Member

Discussed in #4095

Originally posted by xgqt February 6, 2024
Hello!

One of Gentoo users has run onto the issue where our build on .NET SDK did not include the testhost.exe file.
https://bugs.gentoo.org/923832

I have some questions that might help us sort it out:

  • Is this a expected behavior that should happen with default build?
  • Is this file available only when mono build is requested?
  • What is the setup of environment and flags to build it while building .NET SDK?
@dotnet-issue-labeler dotnet-issue-labeler bot added area-build Improvements in source-build's own build process untriaged labels Feb 6, 2024
@MichaelSimons
Copy link
Member Author

[Triage] This needs some investigation to gain an understanding of what is happening, if this can be supported by SB or by the end user scenario pulling in MSFT built assets. This is lower priority now with the Unified Build project.

@MichaelSimons MichaelSimons added area-product-experience Improvements in the end-user's product experience and removed area-build Improvements in source-build's own build process untriaged labels Feb 8, 2024
@corngood
Copy link

I'm hitting this when building jackett from nixpkgs using the source-built dotnet 8 sdk.

Microsoft (R) Test Execution Command Line Tool Version 17.8.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Testhost process for source(s) '/build/source/src/Jackett.Test/bin/Release/net462/linux-x64/Jackett.Test.dll' exited with error: Cannot open assembly '/nix/store/n4b0kjcryx7bs7vnsk7z69b07hgg177y-dotnet-sdk-8.0.111/share/dotnet/sdk/8.0.111/Extensions/../TestHostNetFramework/testhost.exe': No such file or directory.
. Please check the diagnostic logs for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-product-experience Improvements in the end-user's product experience
Projects
Status: Backlog
Development

No branches or pull requests

2 participants