xyncro / freya

Freya Web Stack - Meta-Package
https://freya.io
Other
330 stars 30 forks source link

Freya.Hopac doesn't work once converted to use paket #206

Open panesofglass opened 5 years ago

panesofglass commented 5 years ago

Steps to reproduce:

  1. Install Freya.Template using dotnet new -i Freya.Template
  2. Generate a new Freya project using Kestrel and Hopac, e.g. mkdir test && cd test && dotnet new freya -n Test -o src/Test -f kestrel -c hopac
  3. Run dotnet build src/Test && dotnet src/Test/bin/Debug/netcoreapp2.1/Test.dll to verify the project builds and runs by navigating to http://localhost:5000/hello in a browser
  4. Download paket.bootstrapper.exe and rename to paket.exe in the .paket folder
  5. Run mono ./.paket/paket.exe convert-from-nuget
  6. Run dotnet build src/Test && dotnet src/Test/bin/Debug/netcoreapp2.1/Test.dll to verify the project builds and runs but fails to return results by navigating to http://localhost:5000/hello in a browser

Actual: Web app appears to run but returns no response.

Expected: Following the same steps above without specifying the -c option uses async, and that converts to using paket successfully.

Known workarounds: Don't use paket.