question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support runtime identifiers not supported by dotnet cli (project.json)

See original GitHub issue

My environment:

As far as I can see, Benchmark generates line "runtimes": { "osx.10.12-x64": { } } in project.json and uses the current machine’s RID for that. This line cause the error during dotnet restore because dotnet core sees unsupported runtime. If I remove this "runtimes": { "osx.10.12-x64": { } } line from project.json then I can run dotnet restore successfully. To solve this issue I can set DOTNET_RUNTIME_ID=osx.10.11-x64 environment variable, but it seems wired. Here is a discussion on https://github.com/dotnet/cli/pull/4281 for more details.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
adamsitnikcommented, Feb 23, 2017

@sleemer project.json which required the runtime settings are being abandoned. We are now supporting the new csproj files, which don’t require that so I am closing this issue as it won’t be a problem anymore

0reactions
sleemercommented, Nov 16, 2016

@adamsitnik Thank you man!

Read more comments on GitHub >

github_iconTop Results From Across the Web

NET Runtime Identifier (RID) catalog
In this file, you can see that all RIDs, except for the base one, contain an "#import" statement. These statements indicate compatible RIDs....
Read more >
NetCore runtime identifier parameters ignored, MSBuild ...
When you try to build it by msbuild command-line with /p:Runtimeidentifier=win-x64 , then msbuild can't recognize that runtime since it's not ...
Read more >
support runtime identifiers not supported by dotnet cli ...
As far as I can see, Benchmark generates line "runtimes": { "osx.10.12-x64": { } } in project.json and uses the current machine's RID...
Read more >
.NET SDK Support
For a list of Runtime Identifiers (RIDs), see the RID catalog. ... NET Core 3.1 SDK will not shut down build servers from...
Read more >
Dotnet build linux. The answer you're looking for is basically
But when I build the project that references DAL, the value for RuntimeIdentifier disappears: Command: dotnet build Transformer\Transformer. dotnet new ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found