Skip to content

Commit

Permalink
Merge in 'release/2.1' changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnet-bot committed Dec 6, 2018
2 parents 5fbec5f + 1b9a6b0 commit 72098a1
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 33 deletions.
23 changes: 8 additions & 15 deletions build/SharedFx.targets
Expand Up @@ -402,26 +402,19 @@
<SymbolsPackageId>runtime.$(SharedFxRID).$(SymbolsNuspecIdSuffix)</SymbolsPackageId>
</PropertyGroup>

<ItemGroup>
<_SymbolFiles Include="$(SymbolsWorkDir)**\*.pdb;$(SymbolsWorkDir)**\*.map;$(SymbolsWorkDir)**\*.dll" />
<SymbolFiles Include="@(_SymbolFiles)">
<PackagePath>%(RecursiveDir)%(Filename)%(Extension)</PackagePath>
</SymbolFiles>
</ItemGroup>

<!-- Create Layout -->
<Copy
SourceFiles="$(_TemplatesDir)SharedFxSymbols\SharedFrameworkSymbols.nuspec"
DestinationFiles="$(SymbolsWorkDir)$(SymbolsPackageId).nuspec"
SourceFiles="$(_TemplatesDir)SharedFxSymbols\SharedFrameworkSymbols.csproj"
DestinationFiles="$(SymbolsWorkDir)$(SymbolsPackageId).csproj"
OverwriteReadOnlyFiles="True" />

<!-- Produce symbols nupkg -->
<PackNuspec NuspecPath="$(SymbolsWorkDir)$(SymbolsPackageId).nuspec"
OutputPath="$([MSBuild]::NormalizeDirectory($(ArtifactsDir)))symbols\$(SymbolsPackageId).$(PackageVersion).symbols.nupkg"
Properties="version=$(PackageVersion);id=$(SymbolsPackageId);description=$(Description);Configuration=$(Configuration)"
Overwrite="true"
PackageFiles="@(SymbolFiles)"
BasePath="$(SymbolsWorkDir)" />
<MSBuild Projects="$(SymbolsWorkDir)$(SymbolsPackageId).csproj"
Targets="Restore;Pack"
Properties="SymbolsWorkDir=$(SymbolsWorkDir);PackageId=$(SymbolsPackageId);PackageVersion=$(PackageVersion);PackageOutputPath=$(IntermediateDir);PackageDescription=$(Description)" />
<Copy
SourceFiles="$(IntermediateDir)$(SymbolsPackageId).$(PackageVersion).symbols.nupkg"
DestinationFolder="$([MSBuild]::NormalizeDirectory($(ArtifactsDir)))symbols\" />
</Target>

<Target Name="PackSharedFx" DependsOnTargets="DefineSharedFxPrerequisites" >
Expand Down
@@ -0,0 +1,30 @@
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Authors>Microsoft</Authors>
<Copyright>Copyright © Microsoft Corporation</Copyright>
<PackageLicenseUrl>https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt</PackageLicenseUrl>
<PackageIconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</PackageIconUrl>
<PackageProjectUrl>https://asp.net</PackageProjectUrl>
<IncludeSymbols>true</IncludeSymbols>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageTags>aspnetcore</PackageTags>
<ContentTargetFolders></ContentTargetFolders>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>

<ItemGroup>
<_SymbolFiles Include="$(SymbolsWorkDir)**\*.pdb;$(SymbolsWorkDir)**\*.map;$(SymbolsWorkDir)**\*.dll" />
<Content Include="@(_SymbolFiles)">
<PackagePath>%(RecursiveDir)%(Filename)%(Extension)</PackagePath>
</Content>
</ItemGroup>

<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

<Target Name="Compile" />
<Target Name="CopyFilesToOutputDirectory" />

</Project>

This file was deleted.

0 comments on commit 72098a1

Please sign in to comment.