-
Notifications
You must be signed in to change notification settings - Fork 73
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
net7.0 projects fail to parse (with exception generated at RedundantNewKeyword rule, msg 'IDisposable' required here is not available. You should add a reference to the assembly "netstandard"...
)
#598
Comments
Hello @makeProjectGreatAgain , thanks for your bug report. Sorry for the late reply. Can you reproduce the same problem if you use the solution file instead of the project file? And can you provide the project file in case the result is the same? |
Hello
Yes, the result remains the same.
Yes, you can see it above ( look for FsLintBug.fsproj ) |
We discovered a workaround for now: change |
'IDisposable' required here is not available. You should add a reference to the assembly "netstandard"...
)
In this commit, Ionide.ProjInfo is updated to 0.55.4, becuase the old version of projinfo cannot parse *.fsproj file properly. It potentiall fixes: fsprojects#598
In this commit, Ionide.ProjInfo is updated to 0.55.4, becuase the old version of projinfo cannot parse *.fsproj file properly. It potentiall fixes: fsprojects#598
In this commit, Ionide.ProjInfo is updated to 0.55.4, becuase the old version of projinfo cannot parse *.fsproj file properly. It potentiall fixes: fsprojects#598
In this commit, Ionide.ProjInfo is updated to 0.55.4, becuase the old version of projinfo cannot parse *.fsproj file properly. It potentiall fixes: fsprojects#598
Description
dotnet fsharplint lint .\FsLintBug.fsproj
- fails with "Failed to parse file"Repro steps
Code to reproduce the problem:
FsLintBug.fsproj
Program.fs
Commands:
dotnet build
- okdotnet fsharplint lint .\FsLintBug.fsproj
- fails with "Failed to parse file":Expected behavior
No parse errors, just warning as expected
Actual behavior
fails with "Failed to parse file"
Known workarounds
Don't use redundant new` keyword.
Related information
Package Id Version Commands
dotnet-fsharplint 0.21.3 dotnet-fsharplint
The text was updated successfully, but these errors were encountered: