I need to create a nuget file which contains both the release and debug versions of my dll. I need to be able to do this in Azure Devops using the MSBuild task.
I'm using MSBuild due to the bug in the NuGet Task where if you use the new packagereference and projectreference it doesn't do the dependency information correctly.
I have tried doing two builds one in debug and one in release, and then having the release one do a pack. This still only gave me one file. I also tried using a nuspec file to try to tell it to grab both files, but this still only resulted in one file in the package.