-
Notifications
You must be signed in to change notification settings - Fork 132
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
NETSDK1094 errors in tests when using .NET 8 RC1 SDK #3591
Comments
Actually, it seems more likely that this is caused by dotnet/sdk#34430. @Thefrank, @jkotas - The scenario here is that we're building the SDK from source with a non-portable RID: centos.8-x64. We then use that SDK to publish a .NET project with ready-to-run, targeting a RID of Is this a bug or is it intentional that this no longer works? This originally repro'd in dotnet/installer#17118. I had to work around it by disabling the tests at https://github.com/dotnet/installer/pull/17118/files#diff-aa29a7c9a653ceed0c4a6c62a2fa3ebd9b854c48ce58bd489b49bfab183ef72aL37-R38. That change would need to be reverted to repro. |
This changed was coded very defensively to avoid changing any behaviors for non-portable RIDs. I think it is very unlikely that it introduced this issue.
Can this be related to dotnet/sdk#34279? After this change, there is no association between linux-x64 RID and non-portable RIDs like centos.8-x64 by default. Do the distro builds include any overrides for this default? |
Good find. Yes, that looks to be the cause. Looks like there's some changes that are necessary for source-build. |
so #3584 |
@mthalman - Has this issue been resolved now? |
The following error occurs, for all languages, when running the source-build smoke tests with a .NET 8 RC1 source-built SDK:
Error Message:
Stack Trace:
This seems related to the changes in dotnet/sdk#34429.
@sbomer - Can you provide some info on this? What's wrong with the way the test is invoking this? It's specifying a valid RID (
linux-x64
).The text was updated successfully, but these errors were encountered: