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

Nuget Build, when it PackageName.Targets and PackageName.props consumed?

$
0
0

Given, a package file called example:

<?xml version="1.0" encoding="utf-8"?><package><metadata><id>example</id><version>$version$</version><title>$title$</title><authors>$author$</authors><requireLicenseAcceptance>false</requireLicenseAcceptance><description>$description$</description><copyright>$copyright$</copyright></metadata><files><file src="example.targets" target="build" /><file src="example.props" target="build" /></files></package>

When is example.targets and example.props consumed?

Originally I thought it was only during the build process for the project that is using the Nuget package.

But it seems to use props files on installation?

I'm using old-style packages.config in my consuming projects.

Anyone point me to details on this or advise. Thankyou.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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