Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObsoleteReferences DotNet.Watcher.Tools is now included in .NET Core SDK 2.1.300 #5

Open
surfmuggle opened this issue Jul 25, 2018 · 0 comments

Comments

@surfmuggle
Copy link

surfmuggle commented Jul 25, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant