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
I'll leave there, because i cannot fix it tonight, maybe you can do it @forki
I tested locally the error.
on my local was working if i have preview3 in PATH
and fail with preview2 in PATH, same error.
I think that's because you are just running dotnetcore/dotnet.exe in FAKE script instead of adding dotnetcore dir to PATH env var before calling dotnet build.
Like that, in the target file, when i run dotnet compile-fsc is going to use the dotnet in PATH (pretty sure is preview2, so doesnt find compile-fsc) instead of the one inside dotnetcore (the preview3).
.net core sdk require dotnet sdk directory in PATH, that's how things works atm to resolve correct dotnet.exe. directly invoking dotnet.exe is not enough (there is also a discussion about that in FAKE)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
apply workaround: Move fsproj for preview3 in another directory.