This commit is contained in:
Ryan Nowak 2018-12-04 13:48:23 -08:00
Родитель 1e57e5950e
Коммит d38687acf2
3 изменённых файлов: 3 добавлений и 20 удалений

Просмотреть файл

@ -1,6 +1,6 @@
variables:
Build.Repository.Clean: true
_TeamName: DotNetCore
_TeamName: AspNetCore
_DotNetPublishToBlobFeed : true
_PublishBlobFeedUrl: https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
@ -17,7 +17,7 @@ variables:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.DefinitionName'], 'official')) }}:
_HelixType: build/product
_HelixSource: official/aspnet/AspNetCore-Tooling/$(Build.SourceBranch)
_SignType: test
_SignType: real
_SignArgs: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName)
_OfficialBuildIdArgs: /p:OfficialBuildId=$(Build.BuildNumber)
_PublishArgs: /p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)

Просмотреть файл

@ -7,6 +7,7 @@
<PackageTags>aspnetcore;cshtml;razor</PackageTags>
<IsPackable>true</IsPackable>
<IsShipping>true</IsShipping>
<IncludeSymbols>true</IncludeSymbols>
<!-- In theory we want to have this property set, but our pipeline doesn't set the access tokens yet -->
<PublishWindowsPdb Condition="'$(DotNetSymbolServerTokenMsdl)'!='' and '$(DotNetSymbolServerTokenSymWeb)'!=''">true</PublishWindowsPdb>

Просмотреть файл

@ -58,26 +58,8 @@
<Copy SourceFiles="@(ProjectOutput)" DestinationFiles="$(SdkOutputPath)tasks\%(RecursiveDir)%(FileName)%(Extension)" />
</Target>
<ItemGroup>
<SignedPackageFile Include="$(SdkOutputPath)tasks\net46\$(TargetName).dll" Certificate="$(AssemblySigningCertName)" />
<SignedPackageFile Include="$(SdkOutputPath)tasks\netstandard2.0\$(TargetName).dll" Certificate="$(AssemblySigningCertName)" />
<SignedPackageFile Include="$(SdkOutputPath)extensions\**\*.dll" Certificate="$(AssemblySigningCertName)" />
<SignedPackageFile Include="$(SdkOutputPath)tools\netcoreapp3.0\rzc.dll" Certificate="$(AssemblySigningCertName)" />
<SignedPackageFile Include="$(SdkOutputPath)tools\netcoreapp3.0\Newtonsoft.Json.dll" Certificate="$(AssemblySigning3rdPartyCertName)" />
<!-- Binaries that should be signed by corefx/roslyn -->
<ExcludePackageFileFromSigning Include="$(SdkOutputPath)tools\netcoreapp3.0\Microsoft.CodeAnalysis.dll" />
<ExcludePackageFileFromSigning Include="$(SdkOutputPath)tools\netcoreapp3.0\Microsoft.CodeAnalysis.CSharp.dll" />
<ExcludePackageFileFromSigning Include="$(SdkOutputPath)tools\netcoreapp3.0\runtimes\unix\lib\netstandard1.3\System.Text.Encoding.CodePages.dll" />
<ExcludePackageFileFromSigning Include="$(SdkOutputPath)tools\netcoreapp3.0\runtimes\win\lib\netstandard1.3\System.Text.Encoding.CodePages.dll" />
</ItemGroup>
<Target Name="PopulateNuspec" AfterTargets="InitializeStandardNuspecProperties" DependsOnTargets="LayoutDependencies">
<PropertyGroup>
<!-- Make sure we create a symbols.nupkg -->
<IncludeSymbols>true</IncludeSymbols>
<NuspecProperties>
id=$(MSBuildProjectName);
version=$(PackageVersion);