You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do any other tasks have Password parameters? It would be good if MSBuild didn't write the values of such parameters to its logs, but I don't think MSBuild currently knows which parameters contain secrets. Related: #8520 (comment)
The following task has a password parameter. At present, there is no personnel maintenance in this project, and there are some bugs in the project, which cannot be repaired.
Summary
I need to specify the ZIP password when using Zipdirectory task, and the comment of ZIP,
src/Tasks/ZipDirectory.cs
Background and Motivation
When I use Zipdirectory Task, I need to set annotations for the ZIP package, but Zipdirectory does not provide such parameters
<ZipDirectory SourceDirectory="$(OutputPath)" DestinationFile="$(MSBuildProjectDirectory)\output.zip" />
Proposed Feature
<ZipDirectory SourceDirectory="$(OutputPath)" DestinationFile="$(MSBuildProjectDirectory)\output.zip" Comment="my zip" Password="my pwd" />
Alternative Designs
Reference Example:
https://github.com/loresoft/msbuildtasks/blob/De6d85c8feb4bf9a71D7CABF76F76BDC80/msbuild.community.task.cs# L135
The text was updated successfully, but these errors were encountered: