Okay, I've been searching around for this answer for a while and, although I've gotten closer, I still don't have an all-encompassing solution.
I've got a library that I'm writing that needs to build for both .NET 4.0 and 4.5. I want to take both of the outputs and combine them into a single NuGet package.
Using these links:
I've managed to get multiple configuration options for handling both Debug/Release and 4.0/4.5 combinations. Also, through Batch Build, I can get multiple configurations to compile at the same time. I have also been able to get NuGet to fire off for the pack and push operations by overriding the AfterBuild target.
However, NuGet fires off after building each configuration, but I want it to fire off only once - after the last build in the batch. That way, it has all the files built that it needs to be able to create a complete package.
Any assistance would be greatly appreciated.