File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/Tasks/Microsoft.NET.Build.Tasks Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public class GenerateBundle : TaskBase
28
28
public bool ShowDiagnosticOutput { get ; set ; }
29
29
[ Required ]
30
30
public bool EnableCompressionInSingleFile { get ; set ; }
31
+ public bool EnableMacOsCodeSign { get ; set ; } = true ;
31
32
32
33
[ Output ]
33
34
public ITaskItem [ ] ExcludedFiles { get ; set ; }
@@ -64,7 +65,8 @@ protected override void ExecuteCore()
64
65
targetOS ,
65
66
targetArch ,
66
67
version ,
67
- ShowDiagnosticOutput ) ;
68
+ ShowDiagnosticOutput ,
69
+ macosCodesign : EnableMacOsCodeSign ) ;
68
70
69
71
var fileSpec = new List < FileSpec > ( FilesToBundle . Length ) ;
70
72
Original file line number Diff line number Diff line change @@ -1138,7 +1138,8 @@ Copyright (c) .NET Foundation. All rights reserved.
1138
1138
TargetFrameworkVersion =" $(_TargetFrameworkVersionWithoutV)"
1139
1139
RuntimeIdentifier =" $(RuntimeIdentifier)"
1140
1140
OutputDir =" $(PublishDir)"
1141
- ShowDiagnosticOutput =" $(TraceSingleFileBundler)" >
1141
+ ShowDiagnosticOutput =" $(TraceSingleFileBundler)"
1142
+ EnableMacOSCodeSign =" $(_EnableMacOSCodeSign)" >
1142
1143
<Output TaskParameter =" ExcludedFiles" ItemName =" _FilesExcludedFromBundle" />
1143
1144
</GenerateBundle >
1144
1145
You can’t perform that action at this time.
0 commit comments