How to rename a NuGet content folder using script in

Topics: General
Feb 25, 2014 at 12:28 AM
Edited Feb 25, 2014 at 12:29 AM
I have a C++ folder called native that needs to be in the output folder of an C# application.

The problem is that if I put this folder with this name in NuGet content folder, it will interpret wrong, as native is a reserved folder name in NuGet.

My attempt was to rename this folder to content\nativ and then when the package installs, rename it to native and set options to send to output folder.

I tried to use the command Rename-Item , but I am unable to use it, it gives some sintax errors.

How can I rename the content folder nativ to native using script on

my Stack Overflow question