-
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
how to fix the error? dotnet 3.1 RID #2095
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I generally see this error from roslyn when the SDK that's being used to build roslyn doesn't have the runtime id (RID) in it's RID graph. This I generally have to use a patch like https://src.fedoraproject.org/rpms/dotnet5.0/blob/a36231563c01b8257a7a703e8505519b8773e895/f/runtime-48203-fedora-35-rid.patch to add new RIDs in the correct place in the RID graph. |
The general issue here is also captured by #297 |
error again. what is it --- a/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props 2021-02-27 22:01:04.000000000 +0300
+++ b/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props 2021-03-19 02:42:51.689038577 +0300
@@ -125,6 +125,13 @@
<Versions>9</Versions>
</RuntimeGroup>
+ <RuntimeGroup Include="rosa">
+ <Parent>linux</Parent>
+ <Architectures>x64;arm64</Architectures>
+ <Versions>2019.1;2019.05</Versions>
+ <TreatVersionsAsCompatible>false</TreatVersionsAsCompatible>
+ </RuntimeGroup>
+
<RuntimeGroup Include="sles">
<Parent>linux</Parent>
<Architectures>x64</Architectures>
|
This readme describes the workflow for updaitng the json file. Basically, you do a one-time build with The way I generally do this is by grabbing the
Then I get a patch that updates all three files, like along the lines of https://src.fedoraproject.org/rpms/dotnet5.0/blob/a36231563c01b8257a7a703e8505519b8773e895/f/runtime-48203-fedora-35-rid.patch. I then apply that when building source-build 3.1. |
thanks a lot, helped |
@crummel @dseefeld @MichaelSimons is there any documentation for updating RIDs for source-build? Would it be useful to have? I can take the notes from above and write up some new docs.. |
I don't think there is, it would be great if you want to write something up. I could also use something like that in my proposal for NuGet/Home#5862. |
Anyone else adding their Linux distribution's RID to source-build might find this useful. I am trying to get this out of my head and into a shape where others can make use of this. See: dotnet#2095
Anyone else adding their Linux distribution's RID to source-build might find this useful. I am trying to get this out of my head and into a shape where others can make use of this. See: dotnet#2095
The text was updated successfully, but these errors were encountered: