Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 on Mac: The "KillProcess" task was not given a value for the required parameter "ImagePath" (MSB4044)

My coworker just installed Visual Studio 2017 for Mac via this link: https://www.visualstudio.com/vs/mac/. After everything was installed, he attempted to build the Asp.Net MVC C# project and got the following error:

enter image description here

Everyone else uses Windows, so we have never seen this problem before. However, I think I have found the root cause: DotNetCompilerPlatform.props's WebProjectOutputDir is null, but I haven't been able to verify this.

<KillProcess ProcessName="VBCSCompiler" ImagePath="$(WebProjectOutputDir)" /> 

Is it possible to set WebProjectOutputDir manually, or at least view its value on Mac? Why is this an issue on Mac and not Windows?

I've looked around for other answers but didn't find them helpful/relevant.

like image 441
aBlaze Avatar asked Dec 11 '22 07:12

aBlaze


1 Answers

While it is possible to build a .NET core application on a Mac (because it is cross-platform), it is not possible to build a .NET framework application on Mac (because it is Windows-specific).

Therefore, my coworker should find a Windows machine for dev.

like image 65
aBlaze Avatar answered Dec 26 '22 09:12

aBlaze