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.

Project initialization fails due to unrecognized keyword "platform"

See original GitHub issue

dotnet-cli added"type": "platform" to project.json schema. When launching omnisharp on a project that has this in the project.json, omnisharp crashes.

eg.

{
  "version": "1.0.0-*",
  "compilationOptions": {
    "emitEntryPoint": true
  },
  "dependencies": {
    "Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0-rc2-23911" }
  },
  "frameworks": {
    "netstandard1.5": { }
  }
}
The project system 'DotNetProjectSystem' threw exception during initialization.
unknown keyword platform
   at Microsoft.DotNet.ProjectModel.ProjectReader.TryGetProject(String path, Project& project, ICollection`1 diagnostics, ProjectReaderSettings settings)
   at Microsoft.DotNet.ProjectModel.WorkspaceContext.AddProjectEntry(String projectDirectory, FileModelEntry`1 currentEntry)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
DustinCampbellcommented, Apr 1, 2016

Awesome guys – should we kick off a release with this change?

0reactions
hal-lercommented, Apr 2, 2016

I was hoping that we can validate it a bit using an editor. I had some silent failures that did not show up in the tests while making this change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"unknown keyword platform" when restoring in Visual Studio
This error is caused by an old tooling version in global.json . If the value hasn't been updated (easy to miss when migrating...
Read more >
Appium 1.9.1 giving me "An unknown server-side error ...
The problem Upgraded my appium from 1.7.1 to 1.9.1 and noticed that Android version 7.1.1 giving me an error "An unknown server-side error...
Read more >
Unrecognized selector sent to ins…
I am trying to create a DropDownMenu class, but when I try to call addTarget to a UIButton this error comes up... 'unrecognized...
Read more >
Web service error codes (Microsoft Dataverse) - Power Apps
The following list shows the error codes used in Dataverse. For more information about handling errors when using the Dataverse SDK for ....
Read more >
Bug - Alpha 0a9 - Unrecognized identifier 'VertexDescription'
Shader error in 'Project/BasicColourWithNoise': unrecognized identifier 'VertexDescription' at line 360 (on d3d11)
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