Skip to content

Commit 8388cf5

Browse files
authored
Merge pull request #4631 from brettfo/package-symbols
also create the Microsoft.FSharp.Compiler.*.symbols.nupkg
2 parents e703c49 + 4c77bdd commit 8388cf5

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

PublishToBlob.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<Import Project="$(MSBuildThisFileDirectory)packages\$(FeedTasksPackage).$(FeedTasksPackageVersion)\build\$(FeedTasksPackage).targets" />
1717

1818
<ItemGroup>
19+
<!-- this should pick up both *.nupkg and *.symbols.nupkg -->
1920
<NuGetPackages Include="$(MSBuildThisFileDirectory)artifacts\Microsoft.FSharp.Compiler.*.nupkg" />
2021
</ItemGroup>
2122

src/fsharp/FSharp.Compiler.nuget/FSharp.Compiler.Template.nuget.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040

4141
<MakeDir Directories="$(FSharpSourcesRoot)\..\artifacts" />
4242
<MakeDir Directories="$(FSharpSourcesRoot)\..\$(Configuration)\artifacts" />
43-
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration)\coreclr\bin -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\artifacts' />
44-
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration)\coreclr\bin -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\$(Configuration)\artifacts' />
43+
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration)\coreclr\bin -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\artifacts -Symbols' />
44+
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration)\coreclr\bin -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\$(Configuration)\artifacts -Symbols' />
4545
</Target>
4646

4747
</Project>

src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.nuspec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,28 @@
5656
tools, build and runtime/native make unnecessary copies.
5757
this approach gives a very small deployment. Which is kind of necessary.
5858
-->
59+
<!-- assemblies -->
5960
<file src="fsc.exe" target="lib\netstandard1.6" />
6061
<file src="fsi.exe" target="lib\netstandard1.6" />
6162
<file src="FSharp.Core.dll" target="lib\netstandard1.6" />
6263
<file src="FSharp.Compiler.Private.dll" target="lib\netstandard1.6" />
6364
<file src="FSharp.Build.dll" target="lib\netstandard1.6" />
6465
<file src="FSharp.Compiler.Interactive.Settings.dll" target="lib\netstandard1.6" />
66+
<!-- symbols -->
67+
<file src="fsc.pdb" target="lib\netstandard1.6" />
68+
<file src="fsi.pdb" target="lib\netstandard1.6" />
69+
<file src="FSharp.Core.pdb" target="lib\netstandard1.6" />
70+
<file src="FSharp.Compiler.Private.pdb" target="lib\netstandard1.6" />
71+
<file src="FSharp.Build.pdb" target="lib\netstandard1.6" />
72+
<file src="FSharp.Compiler.Interactive.Settings.pdb" target="lib\netstandard1.6" />
73+
<!-- additional files -->
6574
<file src="default.win32manifest" target="contentFiles\any\any" />
6675
<file src="Microsoft.FSharp.Targets" target="contentFiles\any\any" />
6776
<file src="Microsoft.Portable.FSharp.Targets" target="contentFiles\any\any" />
6877
<file src="Microsoft.FSharp.NetSdk.props" target="contentFiles\any\any" />
6978
<file src="Microsoft.FSharp.NetSdk.targets" target="contentFiles\any\any" />
7079
<file src="Microsoft.FSharp.Overrides.NetSdk.targets" target="contentFiles\any\any" />
71-
80+
<!-- resources -->
7281
<file src="**\FSharp.Core.resources.dll" target="lib\netstandard1.6" />
7382
<file src="**\FSharp.Compiler.Private.resources.dll" target="lib\netstandard1.6" />
7483
<file src="**\FSharp.Compiler.Interactive.Settings.resources.dll" target="lib\netstandard1.6" />

0 commit comments

Comments
 (0)