pushd NCDK
call :BuildProject NCDK
popd

pushd NCDKDisplay
call :BuildProject NCDK.Display
popd

goto END

:BuildProject

set ProjectName=%1
if "%ProjectName%" == "" exit 1
MSBuild "%ProjectName%.csproj" /t:Build /p:Configuration=Release
nuget pack "%ProjectName%.nuspec" -Prop Configuration=Release -IncludeReferencedProjects
if "%MyNuGetDir%" neq "" (
	xcopy /D /Y "*.nupkg" "%MyNuGetDir%"
	del /Q "*.nupkg"
)
set ProjectName=

exit /b

:END

pushd NCDK
dotnet add package MathNet.Numerics.Signed
dotnet add package dotNetRDF
call :BuildProject NCDK
popd

pushd NCDKDisplay
call :BuildProject NCDK.Display
popd

goto END

:BuildProject

set ProjectName=%1
if "%ProjectName%" == "" exit 1
MSBuild "%ProjectName%.csproj" /t:Build /p:Configuration=Release
nuget pack "%ProjectName%.nuspec" -Prop Configuration=Release -IncludeReferencedProjects
if "%MyNuGetDir%" neq "" (
	xcopy /D /Y "*.nupkg" "%MyNuGetDir%"
	del /Q "*.nupkg"
)
set ProjectName=

exit /b

:END

Add installing NuGet packages to build bat file
Add installing NuGet packages to build bat file
