-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
So impressed with this!
I loaded up TUnit (which is probably overkill since it's got a lot of different projects in it haha) - And the UI and such loaded fine, and nice and fast! But syntax highlighting and intellisense weren't working.
Here's what the terminal reported:
Vulkan 1.3.295 - Forward+ - Using Device #0: Intel - Intel(R) Arc(TM) Graphics
[Injector] _EnterTree called
[Injector] Service provider built and NodeAdded event subscribed
IdeWindow _Ready called
OTEL_EXPORTER_OTLP_ENDPOINT is not set, skipping OpenTelemetry setup.
Selected: D:/git/TUnit/TUnit.sln
info: SharpIDE.Godot.IdeRoot[0]
Solution model fully created in 307 ms
ProblemsPanel: Solution changed to TUnit.sln
info: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
RoslynAnalysis: Loading solution D:/git/TUnit/TUnit.sln
D:\git\TUnit\TUnit.sln Restore (4.7s)
Error: System.ArgumentException: Required input targetPath was empty. (Parameter 'targetPath')
at Ardalis.GuardClauses.GuardClauseExtensions.NullOrEmpty(IGuardClause guardClause, String input, String parameterName, String message, Func`1 exceptionCreator)
at Ardalis.GuardClauses.GuardClauseExtensions.NullOrWhiteSpace(IGuardClause guardClause, String input, String parameterName, String message, Func`1 exceptionCreator)
at SharpIDE.Application.Features.Evaluation.ProjectEvaluation.GetOutputDllFullPath(SharpIdeProjectModel projectModel) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Evaluation\ProjectEvaluation.cs:line 39
at SharpIDE.Application.Features.Testing.TestRunnerService.GetInitialisedClientAsync(SharpIdeProjectModel project) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Testing\TestRunnerService.cs:line 62
at SharpIDE.Application.Features.Testing.TestRunnerService.DiscoverTests(SharpIdeSolutionModel solutionModel) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Testing\TestRunnerService.cs:line 17
at SharpIDE.Godot.Features.TestExplorer.TestExplorerPanel.DiscoverTestNodesForSolution(Boolean withBuild) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\TestExplorer\TestExplorerPanel.cs:line 48
at SharpIDE.Godot.Features.TestExplorer.TestExplorerPanel.AsyncReady() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\TestExplorer\TestExplorerPanel.cs:line 32
at SharpIDE.Godot.GodotTask.<>c__DisplayClass2_0.<<GodotRun>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\Sharp
IDE\src\SharpIDE.Godot\NodeExtensions.cs:line 200 (5.1s)
Error: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at SharpIDE.Application.Features.Evaluation.NugetDependencyGraph.GetPackageDependencyMap(LockFile assetsFile) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Evaluation\NugetDependencyGraph.cs:line 17
at SharpIDE.Application.Features.Evaluation.ProjectEvaluation.GetPackagesFromAssetsFiles(List`1 projects, Boolean includeTransitive) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Evaluation\ProjectEvaluation.cs:line 89
at SharpIDE.Application.Features.Evaluation.ProjectEvaluation.GetPackageReferencesForProjects(List`1 projectModels, Boolean includeTransitive) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Evaluation\ProjectEvaluation.cs:line 79
at SharpIDE.Godot.Features.Nuget.NugetPanel.PopulateInstalledPackages(ISolutionOrProject slnOrProject) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\Nuget\NugetPanel.cs:line 150
at SharpIDE.Godot.GodotTask.<>c__DisplayClass2_0.<<GodotRun>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\Sharp
Restore complete (6.8s)
Build succeeded in 7.4s
info: SharpIDE.Application.Features.Build.BuildService[0]
Build result: Success in 7393ms
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Found project reference without a matching metadata reference: D:\git\TUnit\TUnit.Assertions\TUnit.Assertions.csproj
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Found project reference without a matching metadata reference: D:\git\TUnit\TUnit.Core\TUnit.Core.csproj
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Found project reference without a matching metadata reference: D:\git\TUnit\TUnit.Engine\TUnit.Engine.csproj
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject\TUnit.TestProject.csproj' with message: System.Text.Encodings.Web 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject\TUnit.TestProject.csproj' with message: System.IO.Pipelines 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject\TUnit.TestProject.csproj' with message: Microsoft.Bcl.AsyncInterfaces 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject\TUnit.TestProject.csproj' with message: System.Text.Json 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject\TUnit.TestProject.csproj' with message: System.Collections.Immutable 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject.Library\TUnit.TestProject.Library.csproj' with message: System.Text.Encodings.Web 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject.Library\TUnit.TestProject.Library.csproj' with message: System.IO.Pipelines 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject.Library\TUnit.TestProject.Library.csproj' with message: Microsoft.Bcl.AsyncInterfaces 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject.Library\TUnit.TestProject.Library.csproj' with message: System.Text.Json 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Msbuild failed when processing the file 'D:\git\TUnit\TUnit.TestProject.Library\TUnit.TestProject.Library.csproj' with message: System.Collections.Immutable 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Found project reference without a matching metadata reference: D:\git\TUnit\TUnit.TestProject.Library\TUnit.TestProject.Library.csproj
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.TestProject.FSharp\TUnit.TestProject.FSharp.fsproj' because the file extension '.fsproj' is not associated with a language.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.TestProject.VB.NET\TUnit.TestProject.VB.NET.vbproj' because the language 'Visual Basic' is not supported.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.Templates\content\TUnit.FSharp\TestProject.fsproj' because the file extension '.fsproj' is not associated with a language.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.Templates\content\TUnit.VB\TestProject.vbproj' because the language 'Visual Basic' is not supported.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.Assertions.FSharp\TUnit.Assertions.FSharp.fsproj' because the file extension '.fsproj' is not associated with a language.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.Templates\content\TUnit.AspNet.FSharp\TestProject\TestProject.fsproj' because the file extension '.fsproj' is not associated with a language.
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
WorkspaceFailedHandler - Workspace failure: Cannot open project 'D:\git\TUnit\TUnit.Templates\content\TUnit.AspNet.FSharp\WebApp\WebApp.fsproj' because the file extension '.fsproj' is not associated with a language.
info: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
RoslynAnalysis: Solution loaded in 47034ms
Error: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.GetDocumentSyntaxHighlighting(SharpIdeFile fileModel, CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 485
at SharpIDE.Godot.Features.CodeEditor.SharpIdeCodeEdit.<>c__DisplayClass41_0.<<SetSharpIdeFile>b__1>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\CodeEditor\SharpIdeCodeEdit.cs:line 274
--- End of stack trace from previous location ---
at SharpIDE.Godot.GodotTask.<>c__DisplayClass2_0.<<GodotRun>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\NodeExtensions.cs:line 200
Error: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.GetRazorDocumentSyntaxHighlighting(SharpIdeFile fileModel, CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 379
at SharpIDE.Godot.Features.CodeEditor.SharpIdeCodeEdit.<>c__DisplayClass41_0.<<SetSharpIdeFile>b__1>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\CodeEditor\SharpIdeCodeEdit.cs:line 274
--- End of stack trace from previous location ---
at SharpIDE.Godot.GodotTask.<>c__DisplayClass2_0.<<GodotRun>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\NodeExtensions.cs:line 200
Error: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.GetDocumentSyntaxHighlighting(SharpIdeFile fileModel, CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 485
at SharpIDE.Godot.Features.CodeEditor.SharpIdeCodeEdit.<>c__DisplayClass41_0.<<SetSharpIdeFile>b__1>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\CodeEditor\SharpIdeCodeEdit.cs:line 274
--- End of stack trace from previous location ---
at SharpIDE.Godot.GodotTask.<>c__DisplayClass2_0.<<GodotRun>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\NodeExtensions.cs:line 200
Error: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.GetDocumentSyntaxHighlighting(SharpIdeFile fileModel, CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 485
at SharpIDE.Godot.Features.CodeEditor.SharpIdeCodeEdit.<>c__DisplayClass41_0.<<SetSharpIdeFile>b__1>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\Features\CodeEditor\SharpIdeCodeEdit.cs:line 274
--- End of stack trace from previous location ---
at SharpIDE.Godot.GodotTask.<>c__DisplayClass2_0.<<GodotRun>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Godot\NodeExtensions.cs:line 200
info: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
RoslynAnalysis: Updating solution diagnostics
fail: SharpIDE.Application.Features.Analysis.RoslynAnalysis[0]
An error occurred during analysis
System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.GetProjectDiagnostics(SharpIdeProjectModel projectModel, CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 305
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.UpdateSolutionDiagnostics(CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 292
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.Analyse(SharpIdeSolutionModel solutionModel, CancellationToken cancellationToken) in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 145
at SharpIDE.Application.Features.Analysis.RoslynAnalysis.<>c__DisplayClass12_0.<<StartSolutionAnalysis>b__0>d.MoveNext() in C:\Users\Matthew\Documents\Git\SharpIDE\src\SharpIDE.Application\Features\Analysis\RoslynAnalysis.cs:line 63
MattParkerDev
Metadata
Metadata
Assignees
Labels
No labels