dotnet run command unable to find SplashKit library
Solution(s)
Section titled “Solution(s)”1: Update SplashKit
Section titled “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
Section titled “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/build the project in the current working directory.skm dotnet run
: build if needed, then run/execute your program.skm dotnet new
: create a new project in the current working directory.