azure-functions-signalrserv.../build/sign.proj

40 строки
1.6 KiB
Plaintext
Исходник Обычный вид История

2018-08-20 05:46:16 +03:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="SignFiles" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="dependencies.props" />
<PropertyGroup>
<NuGetPackagesDir Condition=" '$(NuGetPackagesDir)' == '' ">$(UserProfile)\.nuget\packages</NuGetPackagesDir>
<MicroBuildPropsAndTargetsPath>$(NuGetPackagesDir)\microbuild.core\$(MicroBuildCorePackageVersion)\build\</MicroBuildPropsAndTargetsPath>
</PropertyGroup>
<Import Project="$(MicroBuildPropsAndTargetsPath)MicroBuild.Core.props" />
<!-- This will be overridden if we're building with MicroBuild. -->
<Target Name="SignFiles">
<Message Text="Fake sign target. Would sign: @(FilesToSign)" />
</Target>
<Target Name="SignPackages" DependsOnTargets="_GetSignPackages;SignFiles" />
<Target Name="_GetSignPackages">
<PropertyGroup>
<!-- The OutDir and IntermediateOutputPath properties are required by MicroBuild. MicroBuild only
signs files that are under these paths. -->
<OutDir>$(RepositoryRoot)\</OutDir>
2018-08-20 08:11:15 +03:00
<IntermediateOutputPath>$(RepositoryRoot)\artifacts\build</IntermediateOutputPath>
2018-08-20 05:46:16 +03:00
</PropertyGroup>
2018-08-20 06:35:28 +03:00
<Message Text="IntermediateOutputPath = $(IntermediateOutputPath)" />
2018-08-20 05:46:16 +03:00
<ItemGroup>
<!-- Adding the assemblies to sign -->
<FilesToSign Include="$(OutDir)artifacts\build\*.nupkg">
<Authenticode>NuGet</Authenticode>
</FilesToSign>
</ItemGroup>
</Target>
<Import Project="$(MicroBuildPropsAndTargetsPath)MicroBuild.Core.targets" />
2018-08-20 08:11:15 +03:00
</Project>