Mathias Thierbach
Mathias Thierbach
* Path: `./Report*.pbix` * Matches: `Thin Report Template.pbix` That one shouldn't match.
The Desktop (.Net Fx) version converts spaces to '%20' before matching, hence fails when the match path contains spaces. The Core edition is not affected.
Ref: https://github.com/pbi-tools/pbi-tools/blob/662675e5bf8f494f21127dbc7d6a20829672bfbc/src/PBI-Tools/Deployments/DeploymentManager.cs#L465-L471 With `"skipReport": true` set, a PBIX deployment will fail due to the confirmation log message throwing `System.ArgumentOutOfRangeException` when accessing the non-existing `Reports[0]`.
* Reports/File deployments use the Options/TempDir to generate PBIX in before publishing those. Clean those up (and provide option to skip)
The current default, `%TEMP%`, is Windows-specific. * Use [Path.GetTempPath()](https://docs.microsoft.com/en-us/dotnet/api/system.io.path.gettemppath) as the default