Install Freya.Template using dotnet new -i Freya.Template
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
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
Download paket.bootstrapper.exe and rename to paket.exe in the .paket folder
Run mono ./.paket/paket.exe convert-from-nuget
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.
Steps to reproduce:
Freya.Template
usingdotnet new -i Freya.Template
mkdir test && cd test && dotnet new freya -n Test -o src/Test -f kestrel -c hopac
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 browserpaket.bootstrapper.exe
and rename topaket.exe
in the.paket
foldermono ./.paket/paket.exe convert-from-nuget
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 browserActual: Web app appears to run but returns no response.
Expected: Following the same steps above without specifying the
-c
option usesasync
, and that converts to using paket successfully.Known workarounds: Don't use paket.