Hi Greg,

Could you use your version control software to do this?
SVN has externals & Git has  submodules.  Perhaps these mechanisms could do 
what you want?

David

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Tuesday, 19 January 2016 12:58 a.m.
To: ozDotNet <ozdotnet@ozdotnet.com>
Subject: Code snippets

Folks, I'm looking for a way of managing snippets of code that I want to 
include in multiple unrelated projects. I want them to behave like little Nuget 
packages of source code, so when I update snippets in one project they will be 
recognised as out-dated when I open other projects using them.

You can get this sharing effect by adding files "as link" in multiple projects, 
but then the projects get mixed up with your local file system. Putting the 
snippets in a utility DLL is technically correct, but far too heavy handed for 
me.

Is anyone aware of some facility that does what I want? A VS plugin would 
probably be the way to go, but they're really taxing and specialised to write. 
Maybe there are other ways.

Greg K

Reply via email to