Rider无法在Mac上发布.NET Web应用程序

时间:2018-05-03 15:51:05

标签: rider

我正在尝试使用Rider for Mac中的单个项目部署一个简单的解决方案。即使只是部署一个新的默认项目也行不通(构建工作正常,本地调试也能正常工作)。

我收到错误

05:43:28 Building /Users/danielcamps/RiderProjects/ApiSolution/ApiProject/ApiProject.csproj
  Target _DeploymentUnpublishable:
    Skipping unpublishable project.
  Target ValidateSolutionConfiguration:
    Building solution configuration "Debug|Any CPU".
Publish succeeded at 17:43:28

我在某处看到MSBuild版本可能是一个因素,但是将其从自动检测(15.0)更改为另一个(12.0)会导致不同的错误:

  ApiProject.csproj: [null] /Users/danielcamps/RiderProjects/ApiSolution/ApiProject/ApiProject.csproj: error : Target named 'Publish' not found in the project.

我被困住了,有没有人有任何想法?

1 个答案:

答案 0 :(得分:1)

您无法在Mac上发布经典网络应用,因为Mono MSBuild目标不支持它。

相关问题