79227414

Date: 2024-11-26 15:59:12
Score: 2
Natty:
Report link

Found the solution this morning.

  1. I converted my packages.config to package reference See docs
  2. I updated my csproj of the NuGet package to be:
<None Include="Xsds\*.xsd">
  <pack>true</pack>
  <PackagePath>contentFiles\any\any\Xsds\</PackagePath>
  <PackageCopyToOutput>true</PackageCopyToOutput>
  <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>

I would like to know if this is possible to do with a packages.config. It's rather annoying that this NuGet package simply won't work unless the user is doing it a specific way..

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RED