Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Ionide.ProjInfo.ProjectSystem to 0.52 #39

Closed
wants to merge 1 commit into from
Closed

Updates Ionide.ProjInfo.ProjectSystem to 0.52 #39

wants to merge 1 commit into from

Conversation

TheAngryByrd
Copy link
Member

On dotnet sdk 5.0.300 I was getting this exception:

Info : Running in verbose mode
Info : Fail On Warnings: [BDH0002]
Info : Ignore Files: []
Info : Loading analyzers from /Users/jimmybyrd/Documents/repos/public/TheAngryByrd/MiniScaffold/Content/Library/packages/analyzers
Info : Registered 1 analyzers from 3 dlls
Unhandled exception. System.InvalidOperationException: The input list was empty.
   at Microsoft.FSharp.Collections.FSharpList`1.get_Head() in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\prim-types.fs:line 3743
   at Program.loadProject@57.Invoke(Unit unitVar) in /Users/jimmybyrd/Documents/repos/public/TheAngryByrd/FSharp.Analyzers.SDK/src/FSharp.Analyzers.Cli/Program.fs:line 59
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 104
--- End of stack trace from previous location ---

Updating to the latest Ionide.ProjInfo.ProjectSystem seems to fix it.

@@ -922,7 +927,7 @@ NUGET
Microsoft.Win32.SystemEvents (5.0) - restriction: && (>= netcoreapp3.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
Microsoft.NETCore.Platforms (>= 5.0) - restriction: >= netcoreapp2.0
Mono.Posix.NETStandard (1.0) - restriction: >= netstandard2.0
MSBuild.StructuredLogger (2.1.215) - restriction: >= netstandard2.0
MSBuild.StructuredLogger (2.1.500) - restriction: >= netstandard2.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is related to fsprojects/FAKE#2595

@TheAngryByrd
Copy link
Member Author

Oh look #38 already is updating to latest. Closing in favor of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant