File tree Expand file tree Collapse file tree 3 files changed +38
-33
lines changed
tools/templates/SharedFxSymbols Expand file tree Collapse file tree 3 files changed +38
-33
lines changed Original file line number Diff line number Diff line change 402402 <SymbolsPackageId >runtime.$(SharedFxRID).$(SymbolsNuspecIdSuffix)</SymbolsPackageId >
403403 </PropertyGroup >
404404
405- <ItemGroup >
406- <_SymbolFiles Include =" $(SymbolsWorkDir)**\*.pdb;$(SymbolsWorkDir)**\*.map;$(SymbolsWorkDir)**\*.dll" />
407- <SymbolFiles Include =" @(_SymbolFiles)" >
408- <PackagePath >%(RecursiveDir)%(Filename)%(Extension)</PackagePath >
409- </SymbolFiles >
410- </ItemGroup >
411-
412405 <!-- Create Layout -->
413406 <Copy
414- SourceFiles =" $(_TemplatesDir)SharedFxSymbols\SharedFrameworkSymbols.nuspec "
415- DestinationFiles =" $(SymbolsWorkDir)$(SymbolsPackageId).nuspec "
407+ SourceFiles =" $(_TemplatesDir)SharedFxSymbols\SharedFrameworkSymbols.csproj "
408+ DestinationFiles =" $(SymbolsWorkDir)$(SymbolsPackageId).csproj "
416409 OverwriteReadOnlyFiles =" True" />
417410
418411 <!-- Produce symbols nupkg -->
419- <PackNuspec NuspecPath =" $(SymbolsWorkDir)$(SymbolsPackageId).nuspec "
420- OutputPath = " $([MSBuild]::NormalizeDirectory($(ArtifactsDir)))symbols\$(SymbolsPackageId).$(PackageVersion).symbols.nupkg "
421- Properties =" version =$(PackageVersion);id =$(SymbolsPackageId);description =$(Description);Configuration =$(Configuration) "
422- Overwrite = " true "
423- PackageFiles = " @(SymbolFiles) "
424- BasePath =" $(SymbolsWorkDir) " />
412+ <MSBuild Projects =" $(SymbolsWorkDir)$(SymbolsPackageId).csproj "
413+ Targets = " Restore;Pack "
414+ Properties =" SymbolsWorkDir =$(SymbolsWorkDir);PackageId =$(SymbolsPackageId);PackageVersion =$(PackageVersion);PackageOutputPath =$(IntermediateDir);PackageDescription=$(Description) " />
415+ < Copy
416+ SourceFiles = " $(IntermediateDir)$(SymbolsPackageId).$(PackageVersion).symbols.nupkg "
417+ DestinationFolder =" $([MSBuild]::NormalizeDirectory($(ArtifactsDir)))symbols\ " />
425418 </Target >
426419
427420 <Target Name =" PackSharedFx" DependsOnTargets =" DefineSharedFxPrerequisites" >
Original file line number Diff line number Diff line change 1+ <Project >
2+ <Import Project =" Sdk.props" Sdk =" Microsoft.NET.Sdk" />
3+
4+ <PropertyGroup >
5+ <TargetFramework >netcoreapp2.1</TargetFramework >
6+ <Authors >Microsoft</Authors >
7+ <Copyright >Copyright © Microsoft Corporation</Copyright >
8+ <PackageLicenseUrl >https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt</PackageLicenseUrl >
9+ <PackageIconUrl >https://go.microsoft.com/fwlink/?LinkID=288859</PackageIconUrl >
10+ <PackageProjectUrl >https://asp.net</PackageProjectUrl >
11+ <IncludeSymbols >true</IncludeSymbols >
12+ <IncludeBuildOutput >false</IncludeBuildOutput >
13+ <PackageTags >aspnetcore</PackageTags >
14+ <ContentTargetFolders ></ContentTargetFolders >
15+ <DisableImplicitFrameworkReferences >true</DisableImplicitFrameworkReferences >
16+ </PropertyGroup >
17+
18+ <ItemGroup >
19+ <_SymbolFiles Include =" $(SymbolsWorkDir)**\*.pdb;$(SymbolsWorkDir)**\*.map;$(SymbolsWorkDir)**\*.dll" />
20+ <Content Include =" @(_SymbolFiles)" >
21+ <PackagePath >%(RecursiveDir)%(Filename)%(Extension)</PackagePath >
22+ </Content >
23+ </ItemGroup >
24+
25+ <Import Project =" Sdk.targets" Sdk =" Microsoft.NET.Sdk" />
26+
27+ <Target Name =" Compile" />
28+ <Target Name =" CopyFilesToOutputDirectory" />
29+
30+ </Project >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments