Closed naclu02 closed 8 months ago
Hello,
The problem is not related to Mac but because you are using a newer version of .NET than the one used at the time to setup the build system.
Each time .NET has a new release, FAKE/Dotnet build system seems to break because of the log file format...
My solution to fix this problem, is in general to update the dependencies group of netcorebuild
. dotnet paket update netcorebuild
and hope that not too many stuff breaks...
My long term solution is to remove FAKE and replace it with Fun.Build which seems more robust at least up to now, I never had a problem like that with it.
I get an error while running ./fake.sh build -t WatchApp
command after running the dotnet paket update netcorebuild
command on Mac.
There was a problem while setting up the environment:
-> Error during parsing of '/Users/lulu/Downloads/repl-4.1.3/paket.lock'.
-> invalid parameter 'net6.0' after >= or < in '>= net6.0'
Hint: If you just upgraded the fake-runner you can try to remove the .fake directory and try again.
You probably need to update paket too: dotnet tool update paket
I am short on time during the coming days, but I will make a note to myself to try looking at this issue in a fews days or week.
I still got an error after running ./fake.sh build -t WatchApp
command after running the dotnet tool update paket
command.
After running the dotnet paket update netcorebuild
command:
Paket failed with
-> Package netcorebuild was not found in paket.dependencies in group Main.
Sorry the command is dotnet paket update --group netcorebuild
I still got an error while running the ./fake.sh build -t WatchApp
after running the dotnet paket update --group netcorebuild
command.
There was a problem while setting up the environment:
-> Error during parsing of '/Users/lulu/Downloads/repl-4.1.3/paket.lock'.
-> failed to parse line ' Microsoft.Win32.Registry (>= 5.0) - restriction: && (< net472) (< net7.0) (>= netstandard2.0)' (invalid parameter 'net7.0' after >= or < in '< net7.0) (>= netstandard2.0)') (Could not parse 'framework: restriction: && (< net472) (< net7.0) (>= netstandard2.0)' as key/value pairs.)
- invalid parameter 'net7.0' after >= or < in '< net7.0) (>= netstandard2.0)'
- Could not parse 'framework: restriction: && (< net472) (< net7.0) (>= netstandard2.0)' as key/value pairs.
-> invalid delimiter at position 22
I'm waiting for these errors to be resolved
Still not working
Hello @Lucas-nac27,
No need to spam this issue. I have it tracked and could not work on it because I was on vacation.
I reworked the build system but I am stuck waiting for a fix upstream. More info the PR and linked issue.
I get an error while running the
./fake.sh build -t WatchApp
command on MacVerbose details: