EnsureProjectLockFile() public method

public EnsureProjectLockFile ( string projectFile ) : bool
projectFile string
return bool
        private static bool EnsureProjectLockFile(NuGetPackageResolver resolver)
        {
            string buildToolsDirectory = BuildPipeline.GetBuildToolsDirectory(BuildTarget.WSAPlayer);
            string projectFile         = FileUtil.NiceWinPath(Path.Combine(buildToolsDirectory, "project.json"));

            return(resolver.EnsureProjectLockFile(projectFile));
        }
 private static bool EnsureProjectLockFile(NuGetPackageResolver resolver)
 {
   string projectFile = FileUtil.NiceWinPath(Path.Combine(BuildPipeline.GetBuildToolsDirectory(BuildTarget.WSAPlayer), "project.json"));
   return resolver.EnsureProjectLockFile(projectFile);
 }