You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cracking projects...
skipping project 'Fantomas.Core.fsproj' because an error occurred while cracking it: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Ionide.ProjInfo.ProjectLoader.loadProject(String path, BinaryLogGeneration binaryLogs, FSharpList`1 globalProperties)
at Ionide.ProjInfo.ProjectLoader.getProjectInfo(String path, FSharpList`1 globalProperties, BinaryLogGeneration binaryLogs, FSharpList`1 customProperties) in /_//src/Ionide.ProjInfo/Library.fs:line 842
at fsdocs.Crack.crackProjectFileAndIncludeTargetFrameworks[a](a _slnDir, FSharpList`1 extraMsbuildProperties, String projectFile) in /home/runner/work/FSharp.Formatting/FSharp.Formatting/src/fsdocs-tool/ProjectCracker.fs:line 268
at fsdocs.Crack.crackProjectFile[a](a slnDir, FSharpList`1 extraMsbuildProperties, String file) in /home/runner/work/FSharp.Formatting/FSharp.Formatting/src/fsdocs-tool/ProjectCracker.fs:line 348
at [email protected](String p) in /home/runner/work/FSharp.Formatting/FSharp.Formatting/src/fsdocs-tool/ProjectCracker.fs:line 453
Project cracking failed and --strict is on, exiting
Environment (please complete the following information):
OS: WSL (Ubuntu 22.04.2 LTS)
Ionide version: /
VSCode version: /
dotnet SDK version: 8.0.100-preview.7.23376.3
mono / .Net Framework version: /
Additional context
This problem doesn't occur when running this inside the docker image:
Describe the bug
fsdocs
cannot crack my projects when multiple SDKs are present.To Reproduce
Create an environment where the following SDKs are installed:
(I don't know which SDK exactly causes the problem, this is what I had locally in WSL)
Steps to reproduce the behaviour:
Clone https://github.com/dawedawe/fantomas/tree/net8_lang_preview
Run:
Expected behaviour
Cracking should happen fine.
Screenshots
Environment (please complete the following information):
Additional context
This problem doesn't occur when running this inside the docker image:
When only the preview SDK is present, this is not a problem.
I also ensured that #195 is unrelated to this problem space.
The text was updated successfully, but these errors were encountered: