Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to create a nuget file with both the Release and Debug configurations using msbuild in Azure Devops

$
0
0

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.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>