C#C
C#3y ago
JoJoCa

✅ dotnet watch not working

im trying to run a mod that works using the api for a minecraft server, though when I try to run the main API using the dotnet watch commad in my terminal I get this
dotnet watch :x: Error(s) finding watch items project file 'SkyApi.csproj'
dotnet watch :watch: MSBuild output from target 'GenerateWatchList':
dotnet watch :watch:
dotnet watch :watch:    Build started 08/08/2023 16:24:26.
dotnet watch :watch:         1>Project "C:\Users\********\Documents\skyblock\SkyApi\SkyApi.csproj" on node 1 (GenerateWatchList target(s)).
dotnet watch :watch:         1>Project "C:\Users\********\Documents\skyblock\SkyApi\SkyApi.csproj" (1) is building "C:\Users\********\Documents\skyblock\SkyBackendForFrontend\SkyBackendForFrontend.csproj" (3) on node 2 (_CollectWatchItems target(s)).
dotnet watch :watch:         3>C:\Program Files\dotnet\sdk\7.0.306\DotnetTools\dotnet-watch\7.0.306-servicing.23321.40\tools\net7.0\any\DotNetWatch.targets(92,5): error MSB3202: The project file "../websocket-sharp/websocket-sharp/websocket-sharp.csproj" was not found. [C:\Users\********\Documents\skyblock\SkyBackendForFrontend\SkyBackendForFrontend.csproj]
dotnet watch :watch:         3>Done Building Project "C:\Users\********\Documents\skyblock\SkyBackendForFrontend\SkyBackendForFrontend.csproj" (_CollectWatchItems target(s)) -- FAILED.
dotnet watch :watch:         1>Done Building Project "C:\Users\********\Documents\skyblock\SkyApi\SkyApi.csproj" (GenerateWatchList target(s)) -- FAILED.
dotnet watch :watch:    Build FAILED.
dotnet watch :watch:           "C:\Users\********\Documents\skyblock\SkyApi\SkyApi.csproj" (GenerateWatchList target) (1) ->
dotnet watch :watch:           "C:\Users\********\Documents\skyblock\SkyBackendForFrontend\SkyBackendForFrontend.csproj" (_CollectWatchItems target) (3) ->
dotnet watch :watch:           (_CoreCollectWatchItems target) ->
dotnet watch :watch:             C:\Program Files\dotnet\sdk\7.0.306\DotnetTools\dotnet-watch\7.0.306-servicing.23321.40\tools\net7.0\any\DotNetWatch.targets(92,5): error MSB3202: The project file "../websocket-sharp/websocket-sharp/websocket-sharp.csproj" was not found. [C:\Users\********\Documents\skyblock\SkyBackendForFrontend\SkyBackendForFrontend.csproj]
dotnet watch :watch:        0 Warning(s)
dotnet watch :watch:        1 Error(s)
dotnet watch :watch:    Time Elapsed 00:00:01.99
dotnet watch :watch:
Was this page helpful?