Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Directory.Build.props')
-rw-r--r--Directory.Build.props12
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>