You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating my .Net SDK from 7.0.103 to 7.0.200 it complains:
Error NETSDK1191 A runtime identifier for the property 'SelfContained' couldn't be inferred. Specify a rid explicitly. C:\Program Files\dotnet\sdk\7.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets 190
I also verified it working with 7.0.102 and broken with 7.0.201.
We have a list of RuntimeIdentifiers set in the project, that's not sufficient!
Describe the bug
After updating my .Net SDK from 7.0.103 to 7.0.200 it complains:
Error NETSDK1191 A runtime identifier for the property 'SelfContained' couldn't be inferred. Specify a rid explicitly. C:\Program Files\dotnet\sdk\7.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets 190
I also verified it working with 7.0.102 and broken with 7.0.201.
We have a list of RuntimeIdentifiers set in the project, that's not sufficient!
To Reproduce
Example project file:
When setting
it works. Unfortunately then other steps like
fail, because it's not copying to
but to
Then tests from MSTest ran in the normal
bin\yourproject\buildconfig\net7.0
path and everything breaks.Exceptions (if any)
Further technical details
The text was updated successfully, but these errors were encountered: