Allow for including sources in .NET Core symbols packages
Packages created with nuget pack from older *.csproj files included sources, but it seems that packages created with dotnet pack using the new *.csproj format do not. From the Console, it looks like the --include_sources flag would need to be added to the dotnet pack command, but I don't see an option for this.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Jeffrey Morse on 13 Feb, 2018 02:19 PM
I guess I should have spent a little more time trying to figure this out first. If you include the following two elements in the csproj file:
then the sources will in fact be included when AppVeyor runs dotnet pack.
2 Posted by Ilya Finkelshte... on 13 Feb, 2018 04:47 PM
Right, also if you set
publish_nuget_symbols: true
(Include NuGet symbol packages
if you use UI), AppVeyor will add--include-symbols
todotnet pack
command line.Include source
though is not exposed this way and yes, you need to update your.csproj
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:26 AM.