Sunday 15 June 2014

nuget pack with symbols is missing "content" directory -


I am using nuget to package some assembly and additional files.

The symbol is different, so I am using "News Pack - Symboos" which creates two separate NOOPKAG files.

The problem I have is that only "Lib" directory (with PDB) and DLLs) in the .symbols.nupkg package. In this "tools" and "content" is missing.

This means that if a person installs .symbols.nupkg, they do not receive additional files under "content" and because .symbols.nupkg has the same package ID. As nupkg, nuget will never install the main package in which it has "content".

This is a nuspec file that makes both packages, so I can not control it there.

Am I doing something wrong, or incorrectly to understand how the symbol package should be used?

The problem is - * .symbols.pckg (or local symbols feed) to be placed on

Sumbols.pckg does not replace an actual package. This is an addon

But you can actually include PDB files in packets. Add it to nuspec file

  & lt; Files & gt; & Lt; File src = "bin \ $ configuration $ \ $ id $ .pdb" target = "lib \ net45 \" /> & Lt; / Files & gt;    

No comments:

Post a Comment