diff --git a/Makefile b/Makefile
index c8339a34f6cb2fcabc50e58b7e007b2e66a1ba13..a6934fe8b9df79ef4c6dda217660c9280ecc9ebc 100644
--- a/Makefile
+++ b/Makefile
@@ -9,14 +9,15 @@ kissinference_test: kissinference
 clean:
 	dotnet msbuild kissinference.csproj -t:Clean
 	dotnet msbuild kissinference_test.csproj -t:Clean
-	rm -r doc/html doc/latex
+	rm -r doc/html doc/latex || true
 
 .PHONY: doc
 doc:
 	doxygen doc/libkissinference.doxygen
 
 restore:
-	dotnet restore
+	dotnet restore kissinference.sln
+	dotnet restore kissinference_test.csproj
 
 run:
 	dotnet bin/net8/kissinference.dll ../scripttraining/simplenet100-6.onnx
diff --git a/kissinference_test.csproj b/kissinference_test.csproj
index 244164f1b3c675344bb3c81bbf9d20c29d0c38f4..0b18f8a538982e219a3eb894896ee896b7db5082 100644
--- a/kissinference_test.csproj
+++ b/kissinference_test.csproj
@@ -4,13 +4,13 @@
 		<OutputPath>bin\</OutputPath>
 		<OutputType>exe</OutputType>
 		<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-		<TargetFrameworks>net6;net7;net8</TargetFrameworks>
+		<TargetFrameworks>netstandard2.0;net6;net7;net8</TargetFrameworks>
 		<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
 
 	</PropertyGroup>
 	<ItemGroup>
 		<Reference Include="kissinference">
-			<HintPath>bin\$(TargetFramework)\kinnsinference.dll</HintPath>
+			<HintPath>bin\$(TargetFramework)\kissinference.dll</HintPath>
 		</Reference>
 		<Compile Include="program.cs" />
 	</ItemGroup>