I see this in log file where I rely on MSBuild restore arg to do something. Instead it does nothing.
Target "ResolveNuGetPackageAssets" skipped, due to false condition; ('$(ResolveNuGetPackages)' == 'true' and exists('$(ProjectLockFile)')) was evaluated as ('true' == 'true' and exists('obj\project.assets.json')).
There are NO obj\project.assets.json files anywhere so I guess it expects some project lock file?
I can only get obj\project.assets.json files if I call NUGET.exe directly with restore. So I guess do NOT us msbuild with restore command or use both . Who knows.....