You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by Stephen Mallette <sp...@gmail.com> on 2019/02/11 21:08:01 UTC

including extra files in nuget package

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?

Re: including extra files in nuget package

Posted by Stephen Mallette <sp...@gmail.com>.
>  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 <fh...@florian-hockmann.de>
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 <ro...@gmail.com>
> Gesendet: Montag, 11. Februar 2019 22:20
> An: dev@tinkerpop.apache.org
> 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 <sp...@gmail.com>
> 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?
> >
>
>

AW: including extra files in nuget package

Posted by Florian Hockmann <fh...@florian-hockmann.de>.
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 <ro...@gmail.com> 
Gesendet: Montag, 11. Februar 2019 22:20
An: dev@tinkerpop.apache.org
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 <sp...@gmail.com>
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?
>


Re: including extra files in nuget package

Posted by Robert Dale <ro...@gmail.com>.
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 <sp...@gmail.com>
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?
>