I'd like to specify different package versions for different project configurations. I know what this would look like in my .csproj file for non-NuGet dependencies ("bare" DLLs), but I'd like to try and get this working with NuGet packages too.
The problem is that NuGet dependencies are specified in packages.config and not in the .csproj file, where I could use the MSBuild Condition attribute. This is compounded by the fact that there does not appear to be any documentation for packages.config and the attributes it supports.
Can this be done? How?