Add external program to nuget

  • Thread starter Thread starter Hartl_D
  • Start date Start date
H

Hartl_D

Guest
Hi,

I want to create a nuget which also comprises a external program. Like:

External\

-test.dll

-test.exe

So this programm shall be copied to the project , where the nuget is included. My nuspec file looks like:

<?xml version="1.0"?>
<package>
<metadata>
<id>Test</id>
<version>1.2.0</version>
<authors>tt</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Test</description>
</metadata>
<files>
<file src="bin\Debug\main.dll" target="lib\net40" />
<file src="bin\Debug\External\*" target="lib\net40\External" />
</files>

</package>



The external program will only be copied if I omit the "External" of the target definition:

<file src="bin\Debug\External\*" target="lib\net40" />

How can I establish that it's gonna be copied in the "External" folder??

Continue reading...
 
Back
Top