Closed jainaashish closed 6 years ago
@jainaashish, Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request. Thanks, .NET Foundation Pull Request Bot
I cannot seem to get this to work for our project. A few questions before I spend any more time debugging the issue:
@ryno1234 xdt transforms don't work with packageReference based projects and by extension, SDK-style ones https://docs.microsoft.com/en-us/nuget/reference/migrate-packages-config-to-package-reference#xdt-transforms-are-not-applied-when-the-package-is-installed-after-the-upgrade
@karann-msft , Understood... however I thought the whole purpose of this sample was to demonstrate how to address that deficiency.
Ah yes. You are right. I haven't tried this sample lately. Can you file an issue on the home repo with steps to repro the issue, expected, and actual behavior. Thanks!
Added sample to author and consume nuget package for xml transform using msbuild targets for
PackageReference
world. This PR adds two things:web.config
andappconfig.config
files using.transform
file through msbuild targets.PackageReference
which transform xml files likeweb.config
orappconfig.config
through mabuild targets.@rrelyea