Visualizer when run gives an error

I think you need to build the Visualizer.csproj in Debug mode before running?

@Izak I have the same problem, I tried your suggestion but it did not work and keep getting this error message " The command ‘dotnet tool restore’ exited with code 1"

Hi I am also getting this error, “The command ‘dotnet tool restore’ exited with code 1”.

@deefstes, @Jenique can you help out here?

Sorry all, I’m not sure how I haven’t seen this thread for like 19 days! :face_with_hand_over_mouth:

There’s not a lot to work with here unfortunately but I’m wondering if it’s not some sort of virus protection on your machines that are preventing you from running new .exe files, even if those files were compiled on your machine. You may have to add an exclusion to your antivirus software for the folder in which the code is compiled.

If you’re using the standard Windows protection you can try the following:
Start → Windows Security → Virus & Threat protection → Manage Settings → Add or remove exclusions → + Add an exclusion

Then specify the folder where your Sproutopia source code is.

I hope this helps.

I solved my “dotnet tool restore’ exited with code 1” issue, by doing the following:
Go to the visualiser config directory => \2024-Sproutopia-2024.0.1\Visualiser.config
open the properties of the dotnet-tool.json file and unblock it.

2 Likes