title: Visual Studio 2017 on Mac: The "KillProcess" task was not given a value for the required parameter "ImagePath" (MSB4044)
body: <p>My coworker just installed Visual Studio 2017 for Mac via this link: <a href="https://www.visualstudio.com/vs/mac/" rel="nofollow noreferrer">https://www.visualstudio.com/vs/mac/</a>. After everything was installed, he attempted to build the Asp.Net MVC C# project and got the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/XCkg7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XCkg7.png" alt="enter image description here"></a></p>
  
  <p>Everyone else uses Windows, so we have never seen this problem before. However, I <em>think</em> I have found the root cause: DotNetCompilerPlatform.props's <code>WebProjectOutputDir</code> is null, but I haven't been able to verify this.</p>
  
  <pre><code>&lt;KillProcess ProcessName="VBCSCompiler" ImagePath="$(WebProjectOutputDir)" /&gt; 
  </code></pre>
  
  <p>Is it possible to set <code>WebProjectOutputDir</code> manually, or at least view its value on Mac? Why is this an issue on Mac and not Windows?</p>
  
  <p>I've looked around for other answers but didn't find them helpful/relevant.</p>