>  I'm not sure though whether that provides much value as you have to open
the package manually in order to see its content.

agreed, it's not so different than packaging LICENSE/NOTICE in jars shipped
to sonatype, but we do it. just trying to keep everything honest :)

On Tue, Feb 12, 2019 at 4:04 AM Florian Hockmann <[email protected]>
wrote:

> The solution in Robert's link under "Project properties" [1] should work
> for us. We would just need to add something like this to the .csproj file:
>
> <ItemGroup>
>         <None Include="licenses\LICENSE.txt" Pack="true" PackagePath=""/>
> </ItemGroup>
>
> I'm not sure though whether that provides much value as you have to open
> the package manually in order to see its content.
>
> [1]:
> https://github.com/NuGet/Home/wiki/Packaging-License-within-the-nupkg#project-properties
>
> -----Ursprüngliche Nachricht-----
> Von: Robert Dale <[email protected]>
> Gesendet: Montag, 11. Februar 2019 22:20
> An: [email protected]
> Betreff: Re: including extra files in nuget package
>
> I just happened to have this tab loaded while searching for an answer to
> the previous email.  I don't know if this helps with the way we publish.
>
> https://github.com/NuGet/Home/wiki/Packaging-License-within-the-nupkg
>
> Robert Dale
>
>
> On Mon, Feb 11, 2019 at 4:08 PM Stephen Mallette <[email protected]>
> wrote:
>
> > anyone know how to add in some arbitrary files to the nuget package?
> > we probably should have LICENSE and NOTICE in there if possible.
> >
> > i looked around and found a few resources but they often conflicted
> > with one another or seemed overly complex for something that seems
> > really simple. thoughts on how to do this most easily?
> >
>
>

Reply via email to