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

Target file of nuget package doesn't proceed .dll file

$
0
0

We changed our Azure pipeline from (legacy) csproj pack to nuget pack. In the process, it seems that a .dll which is located at the root folder of my project isn't copied despite it being mentioned in the .target file. From what I've read it should work without extra referencing the (.dll) file in the nuspec itself. Regardless, in both cases my "PreserveNewest" option, of that file, in the target isn't recognized/applied however.

My nuspec (part) looks like this:

The targets:

CertEnroll_Interop.dll PreserveNewest

And the csproj of the project which installed my package:

Now my question are why doesn't the "settings" for the .dll apply and is a reference in the nuspec required?

This is for a Net Framework 4.8 package and the .dll build is set to "content".


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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