Add test that uses the host's fallback RID#82076
Conversation
|
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue DetailsAdd test that explicitly sets the RID to an unknown value (one not in the graph). In that case, the host uses the
|
|
@elinor-fung, seems like these tests will end up using DOTNET_RUNTIME_ID environment variable and the RID selection then takes certain shortcut when this variable is set. If the intention behind these tests is not to take short-circuit path, and test the most common scenarios (before anything else), then .RuntimeId() is something to watch out for.
Perhaps, for equal coverage |
|
I was going for using Agreed that we should have some targeted coverage for the normal path. I'd rather add that in a separate change, since that will involve some reworking of how the tests get set up (these tests use a minimal .deps.json that probably won't include the computed RID in its RID graph in most cases). |
Add test that explicitly sets the RID to an unknown value (one not in the graph). In that case, the host uses the
FALLBACK_HOST_RIDdefined at compile-time when resolving assets.