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:
authorthsparks <thsparks@microsoft.com>2022-03-05 02:41:32 +0300
committerthsparks <thsparks@microsoft.com>2022-03-05 02:41:32 +0300
commit84aa093427daec3be603a4431766ec42d3d8eebe (patch)
tree528d5f01c3c39f3144d1307da1e99f6ee3968025 /Directory.Build.props
parentf2838cff2163b3cea750853b545df75975e591ea (diff)
Leverage Directory.Build.props and remove unnecessary configuration checks (signing pipeline only builds one configuration).
Diffstat (limited to 'Directory.Build.props')
-rw-r--r--Directory.Build.props12
1 files changed, 11 insertions, 1 deletions
diff --git a/Directory.Build.props b/Directory.Build.props
index dfcb57f..4ec85ea 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,3 +1,13 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <!-- Deliberately empty so we don't inherit files from whoever submodules this repository -->
+ <!-- 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>