In a project we are dynamically loading assemblies with MEF, we use Nuget to package the parts of our application.
This results in the scenario that we have references added to assemblies which are not needed to be referenced.
I've created the Nuget package Baseclass.Contrib.Nuget.Output to add the missing feature to nuget. It adds the possibility to have a folder called "output" in the root of the nuget package and automatically copies its contents to the projects output path.
Open source: https://github.com/baseclass/Contrib.Nuget
<?xml version="1.0" encoding="utf-8"?>
<description>My package description.</description>
<dependency id="Baseclass.Contrib.Nuget.Output" />
<file src="output\test.txt" target="output\test.txt" />
and save it in C:\temp\temppackagesRepository.