I'm setting up a post build event to copy the DLL compiled by Visual Studio into my Unity project, but I can't get it to use the Product Name in the destination path. My command looks like this:
cd $(ProjectDir)
echo F|xcopy /Y "bin\release\$(AssemblyName).dll" "..\..\..\Assets\Plugins\$(ProductName)\$(AssemblyName).dll"
But that puts the file straight in the Plugins directory.
I can use $(RootNamespace) for some projects, but that won't work if I want a space in the folder name.
I know I could just put the product name in manually for each project, but is there a way to get Visual Studio to do it automatically like with the assembly name?