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.
As pointed here by @mmisztal1980,
dotnet restoreno longer supports globbing on therootparameter. The XML docs onDotNetCoreRestoreare 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
rootparameter onDotNetCoreRestorecould become aDirectoryPath. However, ondotnet restoreit actually can be a list of project.json, global.json or root directory.paramsargument?