title: Facing issue on unity3d cmd line - executeMethod class could not be found
body: <p>I am trying to build a Unity Project targeting Android platform from the cmd line. The C# script to build the project with the required options is titled <strong>PerformBuild.cs</strong> and is inside the project path. The class contains the  method <strong>ConfigureBuildTestApp</strong> implemented. </p>
  
  <pre><code>$UNITY_PATH/Unity -quit -batchmmode -projectPath "$PROJECT_FINAL_PATH" -logFile -executeMethod PerformBuild.ConfigureBuildTestApp -buildTarget Android
  </code></pre>
  
  <p>The following error is observed in the build trace</p>
  
  <pre><code>executeMethod class 'PerformBuild' could not be found.
  </code></pre>
  
  <p>Argument was -executeMethod PerformBuild.ConfigureBuildTestApp</p>
  
  <p>Any solution and/or reasoning for this problem? I followed the forum posts in the <a href="https://forum.unity.com/threads/executemethod-class-performbuild-could-not-be-found.222644/" rel="nofollow noreferrer">unity forum</a> but none was helpful.</p>
  
  <p><strong>The script PerformBuild.cs</strong></p>
  
  <p><a href="https://i.stack.imgur.com/SnPDH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SnPDH.png" alt="PerformBuild.cs"></a></p>
  
  <p>Compilation Errors were observed with the script above. Fixed the compilation errors and the revised script is shown below.</p>
  
  <p><strong>Revised PerformBuild.cs</strong>
  <a href="https://i.stack.imgur.com/ugyX0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ugyX0.png" alt="Script for building Android APK"></a>
  The initial error for -executeMethod is still observed.</p>
  
  <pre><code>executeMethod class 'PerformBuild' could not be found.
  
  Argument was -executeMethod 
  testIntegrationProject.PerformBuild.ConfigureBuildTestApp
  
  (Filename: 
  /Users/builduser/buildslave/unity/build/Runtime/Utilities/Argv.cpp 
  Line: 295)
  </code></pre>