Mac 上的 Visual Studio 2017:“KillProcess"任务没有为所需的参数“ImagePath"指定值.(MSB4044) [英] Visual Studio 2017 on Mac: The "KillProcess" task was not given a value for the required parameter "ImagePath" (MSB4044)

查看:18
本文介绍了Mac 上的 Visual Studio 2017:“KillProcess"任务没有为所需的参数“ImagePath"指定值.(MSB4044)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的同事刚刚通过此链接安装了 Visual Studio 2017 for Mac:

其他人都使用 Windows,所以我们以前从未见过这个问题.但是,我认为我已经找到了根本原因:DotNetCompilerPlatform.props 的 WebProjectOutputDir 为空,但我无法验证这一点.

是否可以手动设置 WebProjectOutputDir,或者至少可以在 Mac 上查看其值?为什么这是 Mac 而不是 Windows 上的问题?

我四处寻找其他答案,但没有发现它们有帮助/相关.

解决方案

虽然可以在 Mac 上构建 .NET 核心应用程序(因为它是跨平台的),但无法构建 .NET 框架Mac 上的应用程序(因为它是特定于 Windows 的).

因此,我的同事应该为开发人员找到一台 Windows 机器.

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:

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.

解决方案

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.

这篇关于Mac 上的 Visual Studio 2017:“KillProcess"任务没有为所需的参数“ImagePath"指定值.(MSB4044)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆