> But I would finish up with dozens of them, each contain maybe only 10
lines of code.

I don't see a anything wrong with that, we were discussing this exact thing
this morning in the ReactiveUI slack room.

The ReactiveExtensions NuGet package is considered 'bloated'  and
absolutely *hate* how many references it pulls in even though combined file
size is less than 500kb.

It's 100% this weird psychological thing.

With the right effort up front it becomes incredibly simple to ship a
single library as a NuGet package. It can be templated and automated, I
have my own yeoman generator just for doing exactly this for Xamarin PCLs.

On Tue, Jan 19, 2016, 9:40 AM Nathan Fisher <[email protected]>
wrote:

> Nuget can be used to include just code files, all the javascript, css and
> html nuget packages would fit into that category.
>
> Regards
> Nathan
>
> Date: Tue, 19 Jan 2016 09:17:38 +1100
> From: Greg Keogh <[email protected]>
> Subject: Re: Code snippets
> To: ozDotNet <[email protected]>
> Message-ID:
>         <
> cabdhbw2kkwrgkgknyv9fefyvqfaynyz9sr3nxois5v8ga2c...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi guys, I'm pretty sure I want this "thing" to work at the source code
> level, not at the binary reference level. I said I could put all the
> snippets in DLLs, but I would finish up with dozens of them, each contain
> maybe only 10 lines of code (I have my own local Nuget package source for
> testing).
>
> This mention of SVN externals and Git modules sounds like it's heading in
> the right direction. I personally avoid Git (that's another story), but I a
> quick search about Mercurial "externals" or "subreprositories" shows a few
> confusing overviews <
> http://www.fogcreek.com/kiln/training/using-mercurial-subrepositories/>
> that might clarify it if works the way I want. I'll report if I find
> anything useful. It'd be great if you could something like this, but this
> is where I suspect a VS extensions would be required to implement it.
>
> #region Snippet: My Snazzy Snippet
> :
> // code would be "included" here
> :
> #endregion
>
> *GK*
>
>
>

Reply via email to