I am trying to upload an assembly in Tridion Content Manager through the following post build event of a project in Visual Studio:
C:\Users\\Documents\Visual Studio 2010\Projects\\\bin\Debug\name of dll
Config.xml has been created through cmd as follows:
<?xml version="1.0"?>
<templateAssemblyUploadConfig>
<targetURL>http://<url>/</targetURL>
<userName>domain\user id</username>
<password>password</password>
<uploadPDB>false</uploadPDB>
</templateAssemblyUploadConfig>
When I try to build the DLL , it is giving the following error.
Error 1: Unexpected argument: Unexpected argument Studio C:\Users\\Documents\Visual Studio 2010\Projects\\\bin\Debug\name of dll\EXEC name of DLL
Error 2: The command ” C:\Users\\Documents\Visual Studio 2010\Projects\\\bin\Debug\name of dll” exited with code 1. name of DLL
Can someone help in solving the issue.
Make sure that you use ‘Space’ and not the ‘Enter’ button in between the command.