Open mmatrosov opened 10 years ago
Ok, it seems like there is nothing special about bin
node, it is defined in the Implicit AutoPackage Script like this:
bin += {
#output {
package = redist;
};
#add-each-file : ::nuget.[redist]targets.[${condition}].CopyToOutput;
#destination : ${d_bin};
};
And I can define and use my own node, which uses default package:
my_bin += {
#add-each-file : ::nuget.[default]targets.[${condition}].CopyToOutput;
#destination : ${d_bin};
};
Worked for me.
This is ironic, because right now when I check out the head of the master branch it produces only a single package with no redist, and I'm trying to get it to generate that! :-)
Oh! I'm dumb! I knew I'd seen something like this before. Can you take a look at #54 and see if that works for you?
I believe #54 is not related. When package is bigger than a specified size, it is split into multiple packages. But redist package is created regardless of size. It depends only on whether there are some files in bin
node.
Ok, too bad. I've not been able to try it myself before suggesting.
I've started playing with the latest push of code. You'll be happy to know that redist packages are gone now. Not sure when this code will be released, however. The package splitting only occurs when various pivots get to be large enough (by default I think it is 10 MB).
@gordonwatts How do users know that a release is ready? Are you going to be the main project developer now?
Ha! No way. :-) This project is managed by the outer curve foundation (sp!?). You can find the lead developer on twitter at @fearthecowboy - ask him what is up and what the schedule is. He is also the owner of this repo. As far as I know he is willing to take pull requests, though I've not seen one go all the way through yet.
For small libraries I don't like to have two packages: default and redist. They use too much space in my package explorer. Is there a simple way to make .dll files be copied to the default package?