Title: The sequence contains more than one element · Issue #24 · SharpKit/SharpKit · GitHub
Open Graph Title: The sequence contains more than one element · Issue #24 · SharpKit/SharpKit
X Title: The sequence contains more than one element · Issue #24 · SharpKit/SharpKit
Description: Hi all, I'm getting the following error in a project I haven't built with SharpKit in a while. The last time this worked, I was using a commercial version of SharpKit 5. Now I'm using 5.5, installed with the installer downloaded from Git...
Open Graph Description: Hi all, I'm getting the following error in a project I haven't built with SharpKit in a while. The last time this worked, I was using a commercial version of SharpKit 5. Now I'm using 5.5, installe...
X Description: Hi all, I'm getting the following error in a project I haven't built with SharpKit in a while. The last time this worked, I was using a commercial version of SharpKit 5. Now I'm using 5...
Opengraph URL: https://github.com/SharpKit/SharpKit/issues/24
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The sequence contains more than one element","articleBody":"Hi all,\r\n\r\nI'm getting the following error in a project I haven't built with SharpKit in a while. The last time this worked, I was using a commercial version of SharpKit 5. Now I'm using 5.5, installed with the installer downloaded from GitHub, on VS2017 (in order to get VS2017 to work with this, I had to employ the trick described in issue #23).\r\n\r\n`error SK0000: The sequence contains more than one element [(file path redacted)]\r\n1\u003e ICSharpCode.NRefactory.CSharp.CompilerException: The sequence contains more than one element ---\u003e System.InvalidOperationException: The sequence contains more than one element\r\n1\u003e in System.Linq.Enumerable.Single[TSource](IEnumerable'1 source)\r\n1\u003e in SharpKit.Compiler.CsToJs.ResolveResultConverter.VisitArrayCreateResolveResult(ArrayCreateResolveResult res)\r\n1\u003e in ICSharpCode.NRefactory.Semantics.ArrayCreateResolveResult.AcceptVisitor[R](IResolveResultVisitor'1 visitor) in C:\\Users\\Dan-el\\github\\SharpKit\\external\\NRefactory\\ICSharpCode.NRefactory\\NRefactory.cs:riga 72\r\n1\u003e in SharpKit.Compiler.CsToJs.ResolveResultConverter.Visit(ResolveResult res)\r\n1\u003e --- Fine della traccia dello stack dell'eccezione interna ---\r\n1\u003e in SharpKit.Compiler.CsToJs.MemberConverter.Visit(IEntity node)\r\n1\u003e in SharpKit.Compiler.CsToJs.TypeConverter.ConvertTypeDefinition(ITypeDefinition ce)\r\n1\u003e in SharpKit.Compiler.CsToJs.TypeConverter.ConvertTypeDefinition(ITypeDefinition ce, JsFile jsFile)\r\n1\u003e in System.Collections.Generic.List`1.ForEach(Action`1 action)\r\n1\u003e in System.Linq.Extensions.ForEach[T](IEnumerable`1 items, Action`1 action) in C:\\Users\\Dan-el\\github\\SharpKit\\external\\corex\\src\\corex\\Extensions\\System.Linq.cs:riga 85\r\n1\u003e in SharpKit.Compiler.CsToJs.TypeConverter.Process()\r\n1\u003e in SharpKit.Compiler.CompilerTool.ConvertCsToJs()\r\n1\u003e in SharpKit.Compiler.CompilerTool.Time(Action action)\r\n1\u003e in SharpKit.Compiler.CompilerTool.InternalRun()`\r\n\r\nUnfortunately, the project is very large, and making a decent repro is going to be time-consuming. While I work on that, anyone has any idea on what this means?","author":{"url":"https://github.com/FilippoPolo","@type":"Person","name":"FilippoPolo"},"datePublished":"2019-06-17T17:08:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/24/SharpKit/issues/24"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3d0b2fd4-43ac-468a-2890-3a482fada598 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 893A:21490:682076:8F5BDA:698E08E7 |
| html-safe-nonce | 81c8744c7325e7b71b202a3767204f6df9851988dc5cd7877335cbc2ef4a37cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTNBOjIxNDkwOjY4MjA3Njo4RjVCREE6Njk4RTA4RTciLCJ2aXNpdG9yX2lkIjoiODg1OTg5ODA0ODgxMDk3NzUxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 07057f1d5d5893bd439f970017c23425e76f7c5dde4c5f3333037cb2529050be |
| hovercard-subject-tag | issue:457045016 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SharpKit/SharpKit/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65574cd13eb550b92706bf2afd02991fb94bc4244747c1f5e0002d55bd5a1962/SharpKit/SharpKit/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65574cd13eb550b92706bf2afd02991fb94bc4244747c1f5e0002d55bd5a1962/SharpKit/SharpKit/issues/24 |
| og:image:alt | Hi all, I'm getting the following error in a project I haven't built with SharpKit in a while. The last time this worked, I was using a commercial version of SharpKit 5. Now I'm using 5.5, installe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FilippoPolo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 70a88bfe6d9639434ae7f5a46d15c336b8884978a51526bc55fc57d848f1e3c1 |
| turbo-cache-control | no-preview |
| go-import | github.com/SharpKit/SharpKit git https://github.com/SharpKit/SharpKit.git |
| octolytics-dimension-user_id | 6000024 |
| octolytics-dimension-user_login | SharpKit |
| octolytics-dimension-repository_id | 14582190 |
| octolytics-dimension-repository_nwo | SharpKit/SharpKit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14582190 |
| octolytics-dimension-repository_network_root_nwo | SharpKit/SharpKit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2519b16db5550494a653f9a8837c14ef7df80804 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width