You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a fresh installation of Windows 10 and Visual Studio 22, the %USERPROFILE%.nuget\packages folder is not yet created. When the Build_BaSyx.bat is executed, the Clear_Local_BaSyx_NuGet_Cache.bat is executed in it.
Clear_Local_BaSyx_NuGet_Cache.bat
cd /D %USERPROFILE%\.nuget\packages
for /f %%i in ('dir /a:d /s /b basyx.*') do rd /s /q %%i
exit 0
Because folder %USERPROFILE%.nuget\packages not created, an error message occurs on first command and the cmd remains in git repos directory. The second command will now delete all directories in the git repos that have basyx.*.
This can be fixed if the directory is checked for existence at the beginning.
IF EXIST %USERPROFILE%\.nuget\packages (
cd /D %USERPROFILE%\.nuget\packages
for /f %%i in ('dir /a:d /s /b basyx.*') do rd /s /q %%i
)
exit 0
The text was updated successfully, but these errors were encountered:
After a fresh installation of Windows 10 and Visual Studio 22, the %USERPROFILE%.nuget\packages folder is not yet created. When the Build_BaSyx.bat is executed, the Clear_Local_BaSyx_NuGet_Cache.bat is executed in it.
Clear_Local_BaSyx_NuGet_Cache.bat
Because folder %USERPROFILE%.nuget\packages not created, an error message occurs on first command and the cmd remains in git repos directory. The second command will now delete all directories in the git repos that have basyx.*.
This can be fixed if the directory is checked for existence at the beginning.
The text was updated successfully, but these errors were encountered: