Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Project extending nuget with additional features:


Treats the "output" folder as an additional special folder and copies its content to the build folder

Add this package to your packages dependencies

        <dependency id="Baseclass.Contrib.Nuget.Output" />

and every file you add to your packages output folder will be copied at build time to the projects output folder.

    <file src="output\native.dll" target="output\native.dll" />
	<file src="output\autoresolved.dll" target="output\autoresolved.dll" />
	<file src="output\doc\readme.txt" target="output\doc\readme.txt" />


If you are dynamically loading components or your depend on some native dll's you need them to be copied to projects output folder. This package does exactly this!

Step by step example:


Treats the "Linked" folder as an additional special folder and links its content as existing to the current project.

Add this package to your packages dependencies

        <dependency id="Baseclass.Contrib.Nuget.Linked" />

Add the following line to your install.ps1 script in the tools folder:

Add-LinkedAsExisting $installPath $project $package

Add the following line to your uninstall.ps1 script in the tools folder:

Remove-LinkedAsExisting $installPath $project $package

and every file you add to your packages Linked folder will be linked as existing in the current project.

    <file src="Linked\CodeTemplates\Test\" target="Linked\CodeTemplates\Test\" />
    <file src="Linked\CodeTemplates\Test\TemplateFileManagerV2.1.ttinclude" target="Linked\CodeTemplates\Test\TemplateFileManagerV2.1.ttinclude" />
    <file src="Linked\Test.txt" target="Linked\Test.txt" />

TestPackage containing a T4 template and linked Test.txt file can be found at: (Click on "View Raw" to download)


  • Option "Create directory for solution" must be checked when creating a project. VS doesn't allow linking existing files that reside directly below the project directory.
  • Conflicts with nuget while uninstalling if it's the last package in the solution.


Ignore nuget content files in git:

  • Generate entries in the .gitignore file to exclude nuget content files from the source repository
  • Restore nuget content files before building (Automatically in VS and manually with a powershell script
  • Use Initialize-GitIgnore to add it to an existing solution

Step by step example of usage : alpha


Extending nuget with nuget packages







No releases published


No packages published