Project initialization fails due to unrecognized keyword "platform"
See original GitHub issuedotnet-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:
- Created 7 years ago
- Comments:13 (9 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome guys – should we kick off a release with this change?
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.