-
Notifications
You must be signed in to change notification settings - Fork 7
Description
First of all big thanks for your video and that you uploaded the code here. Your video really helped me already (i am 18 minute in).
I downloaded your sample, executed dotnet restore
C:\Dev\GiraffeSample>dotnet restore
C:\Program Files\dotnet\sdk\2.1.300\Sdks\Microsoft.NET.Sdk\targets\
Microsoft.NET.ObsoleteReferences.targets(33,5):
warning : The tool 'Microsoft.DotNet.Watcher.Tools' is now included in the .NET Core SDK.
Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box).
[C:\Dev\GiraffeSample\LunchAPI\LunchApi.fsproj]
A search for the warning brought up this issue: SAFE-BookStore/issues/334.
In the file "GiraffeSample\LunchAPI\LunchApi.fsproj" i removed the line <DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="2.0.0" /> and changed many version to 2.1.*
After fixing this i entered dotnet run
C:\Dev\GiraffeSample>dotnet run
watch : Could not find a MSBuild project file in 'C:\Dev\GiraffeSample'. Specify which project to use with the --project option.
So i entered C:\Dev\GiraffeSample>dotnet run --project LunchAPI/LunchApi.fsproj which helped. On localhost:5000/lunch i received the same json result from your video
I was able to continue after my "knowledge free edits and attempts" so i hope anyone who is stuck may get help from my attempts.