Packaging of Executable (.exe) and config files

Hello Team,

I am working on POC and seeking assistance in the placement of the executable file and config file in Nuget package. Can you let me know if I should place the .exe package is it in the content directory? And it would be grateful if you can let me know the path where I should place the config file?


Hi Himanshu,

You should place the files in the NuGet package exactly as you want them extracted on disk.

We ignore the conventions used by NuGet when packaging libraries (content, lib, etc).

For more information, please see this document, in particular the Tip: Structure the package as you want it extracted on disk section.

I hope that helps. Don’t hesitate to ask if you have any follow up questions.



This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.