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

Nuget packages with both debug and release

$
0
0

In our work we have one team that develops libraries and other teams that develop projects using those libraries.

The libraries team has much more experience than the projects one.

We created this environment here:

All the libraries are in nuget packages, in a nuget server, in azure devops.We have source link in Azure devops.

But when we deploy the libraries, we have to choose between debug or release, and we have the pros and cons of each.

My ideal nuget package would have both debug and release, and would select the same as the project running it.

this way I would have better debugging for the projects team, and maximum performance on the releases.

I talked with https://twitter.com/rrelyea and he gave some ideas, but they seem to complicated for the other teams to implement, or complex do manage.

Like 2 nuget servers, one for debug, and one for release, and configure those different ones on the machines and on the build server.

Or 2 nuget packages, with .debug and .release on the name of the package, and configure the project to load a diffent one on each mode.

The real problem is that I need a guarantee that all the packages have the same id and version on both servers.

Isn't there a more automatic way to pack the packages?

Simple if it's debug use the debug, if it's the release use the release.

By the way, how much performance difference is between debug and release in this case?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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