Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include source link enabled pdb files with Paket.Core nupkg #2313

Merged
merged 8 commits into from
May 4, 2017

Conversation

ctaggart
Copy link
Contributor

@ctaggart ctaggart commented May 3, 2017

This is a followup to #2200, which simply includes the source linked Paket.Core.pdb files in the Paket.Core nupkg. I had to restore some changes from #2200 that were dropped. Please review. cc @cloudRoutine

@@ -3,6 +3,7 @@
<DebugType>portable</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.1.0" PrivateAssets="all" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.1.1" PrivateAssets="all" />
<PackageReference Include="SourceLink.Embed.PaketFiles" Version="2.1.1" PrivateAssets="all" />
Copy link
Contributor Author

@ctaggart ctaggart May 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved the below targets into its own package, so that others could easily use it.

@@ -10,3 +10,4 @@ projecturl http://fsprojects.github.com/Paket
iconurl https://raw.githubusercontent.com/fsprojects/Paket/master/docs/files/img/logo.png
tags
nuget, bundler, F#
include-pdbs true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packs the pdb for net45.

<Pack>true</Pack>
<PackagePath>lib/netstandard1.6</PackagePath>
</Content>
</ItemGroup>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packs the pdb for netstandard1.6.

@matthid
Copy link
Member

matthid commented May 3, 2017

I never liked that this doesn't work on linux and restricts releases to windows tbh :/ (Sorry I need to say that with a gentoo logo ;))

@forki
Copy link
Member

forki commented May 3, 2017 via email

@matthid
Copy link
Member

matthid commented May 3, 2017

;)

@ctaggart
Copy link
Contributor Author

ctaggart commented May 3, 2017

@matthid I'm not sure I understand. Are you talking about the creation of portable pdb? If so, then it should work once Linux is on dotnet core.

@matthid
Copy link
Member

matthid commented May 3, 2017

@ctaggart Yes. I talk about the nuget release. When we start adding pdbs to the nuget we are windows only when trying to actually do the release ;). I'm not saying we shouldn't do it. Just that I never liked it (and never actually used SourceLink, because I usually automate my release process on my linux/jenkins box).

@matthid I'm not sure I understand. Are you talking about the creation of portable pdb? If so, then it should work once Linux is on dotnet core.

Yes I hope it :) I always wanted to use this :P (and even started to implement a pdb writer, but it was way to much work :P)

@ctaggart
Copy link
Contributor Author

ctaggart commented May 3, 2017

@matthid Have a look at SourceLink version 2. It should work on Linux as well. The only requirement is MSBuild 15.

@forki
Copy link
Member

forki commented May 4, 2017

thanks!

@forki forki merged commit 4ca52a4 into fsprojects:master May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants