dotnet run command unable to find SplashKit library
Solution(s)
There are a few ways to resolve this issue:
1: Update SplashKit
-
Run the following command in a new terminal window:
Terminal window skm updateMake sure to check if there are any errors in the output such as permissions issues.
-
You may also need to run:
Terminal window skm global installThis command is usually run when using the update command above, but running it again won’t cause issues.
-
To test if this has been resolved:
Create a new project folder and a new C# project.
2: Use skm
commands
You can use skm
at the start of any compiling/building commands, or when running C# programs.
For example, you can use the following commands:
skm dotnet build
: compile/bui;d the project in the current working directory.skm dotnet run
: build if needed, then run/execute your program.