-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Is it expected that the host.native subset fails on a fresh build (when the single file host isn't yet built)? #79144
Comments
Tagging subscribers to this area: @hoyosjs Issue Details
|
The singlefilehost.exe file gets copied to the correct output directory and gets the (signed) DAC injected as a resource as part of the host.native build. |
That explains the current state and what the project is responsible for. What I'm interested in knowing is, how can we build just the apphost (ie for the linker nativeaot tests) without requiring the singlefilehost and the runtime to be built? EDIT: DNNE (invoked in NativeExports.csproj) is another component that uses the apphost but doesn't require the singlefilehost. |
I think that the single file host is now a requirement. I believe |
The |
Bringing this up again. Can we change the host.native subset (or to be more precise, corehost.proj) so that we can just build the apphost without the singlefilehost? The NativeAOT libraries tests don't need any of the clr.runtime stuff, so not building that would be preferred. Presumably, the NativeAOT libraries tests don't even need the apphost but that's currently a requirement in the SDK (when building SelfContained, the UseAppHost switch must be true). |
If the current dependency is artificial then I’m supportive.
They’ll need the JIT. Not sure if there’s different subset for that. |
Yes there is Line 59 in 479d013
|
The NativeAOT libraries linker tests don't require the singlefilehost but the apphost but building the
host.native
fails if the single file host isn't yet built. Is that intentional? If the singlefilehost is a strong dependency to buildhost.native
then we should update the Subset description to indicate that.cc @agocke @sbomer
The text was updated successfully, but these errors were encountered: