diff options
Diffstat (limited to 'Directory.Build.props')
-rw-r--r-- | Directory.Build.props | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index 138326c..91eb5fc 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,4 +4,16 @@ <IsWindows>$([MSBuild]::IsOSPlatform('Windows'))</IsWindows> <IsLinux>$([MSBuild]::IsOSPlatform('Linux'))</IsLinux> </PropertyGroup> + + <!-- Enable MicroBuild signing on all projects, if the build is running in a pipeline where MicroBuild has been setup. --> + <ItemGroup> + <PackageReference Include="Microsoft.VisualStudioEng.MicroBuild.Core"> + <Version>1.0.0</Version> + </PackageReference> + </ItemGroup> + <ItemGroup> + <FilesToSign Include="$(OutDir)\$(AssemblyName).dll"> + <Authenticode>Microsoft400</Authenticode> + </FilesToSign> + </ItemGroup> </Project> |