Skip to content

DotNetCoreRestore: dotnet restore no longer supports globbing #1111

@luisgoncalves

Description

@luisgoncalves

As pointed here by @mmisztal1980, dotnet restore no longer supports globbing on the root parameter. The XML docs on DotNetCoreRestore are OK, but the example shows a string with a globbing pattern. I also came across this problem and an issue wasn't created yyet.

@patriksvensson suggested that the root parameter on DotNetCoreRestore could become a DirectoryPath. However, on dotnet restore it actually can be a list of project.json, global.json or root directory.

  • Is there any type on cake that can represent both files and directory paths?
  • Maybe we could have a params argument?
  • Or maybe we can assume the common use case, which I think will be a root directory for search, as Patrick suggested.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions