DevSecOps: YML File Issue with Nuget restore

Anyone run into this issue? If so, how did you resolve it?

C:\Program Files\dotnet\sdk\5.0.212\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1004: Assets file ‘C:\Users\ic708c\Documents\Visual Studio 2017\Projects\HelloWorld3\NUnit1\obj\project.assets.json’ not found.
Run a NuGet package restore to generate this file. [C:\Gitlab-Runner\builds\YmH2C5Cq\0\helloworld3\NUnit1\NUnit1.csproj]
Done Building Project “C:\Gitlab-Runner\builds\YmH2C5Cq\0\helloworld3\NUnit1\NUnit1.csproj” (default targets) – FAILED.
Done Building Project “C:\Gitlab-Runner\builds\YmH2C5Cq\0\helloworld3\HelloWorld3.sln” (default targets) – FAILED.

I have the following commands under the build job, none of them work:

stage: build
#- ‘& “$env:NUGET_PATH” restore’ # restore Nuget dependencies
#- ‘& dotnet restore’ # restore Nuget dependencies
#- ‘& “$env:MSBUILD_PATH” -t:Restore’ # NuGet restore #- ‘& dotnet restore --configfile C:\Gitlab-Runner\builds\YmH2C5Cq\0\jay.l.wallhaus\helloworld3\nuget.config’
#- ‘& “$env:MSBUILD_PATH” /restore’ # NuGet restore
- ‘& “$env:MSBUILD_PATH” /p:Configuration=Release’ # build the project