Xamarin.forms xamarin android项目的应用程序中心构建失败
我正在尝试为xamarin Android项目在APP CENTER上设置构建配置,如下所示 当我运行构建时,我得到了低于错误的信息Xamarin.forms xamarin android项目的应用程序中心构建失败,xamarin.forms,visual-studio-app-center-distribute,Xamarin.forms,Visual Studio App Center Distribute,我正在尝试为xamarin Android项目在APP CENTER上设置构建配置,如下所示 当我运行构建时,我得到了低于错误的信息 "/Users/runner/work/1/s/EmguCVSource/Android/Emgu.CV.Platform.Android.csproj" (default target) (2:2) -> (_CheckForInvalidConfigurationAndPlatform target) -> /Libra
"/Users/runner/work/1/s/EmguCVSource/Android/Emgu.CV.Platform.Android.csproj" (default target) (2:2) ->
(_CheckForInvalidConfigurationAndPlatform target) ->
/Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(791,5): error : The OutputPath property is not set for project 'Emgu.CV.Platform.Android.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Dev' Platform='AnyCPU'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [/Users/runner/work/1/s/EmguCVSource/Android/Emgu.CV.Platform.Android.csproj]
141 Warning(s)
1 Error(s)
Time Elapsed 00:00:38.88
##[error]Error: The process '/Library/Frameworks/Mono.framework/Versions/6_4_0/bin/msbuild' failed with exit code 1
See https://go.microsoft.com/fwlink/?LinkId=760847.```
i tried to fix this by changing mono version but not success.
what should i do to avoid this issue?
这是一个很好的例子,如果你有两个csproj在旁边的项目 就我而言,我有两个
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Dev|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>$(OpenCVBinaryDir)\Build\$(AssemblyName)\$(Platform)\$(Configuration)\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
pdbonly
真的
$(OpenCVBinaryDir)\Build\$(AssemblyName)\$(平台)\$(配置)\
痕迹
促使
4.
$(OutputPath)$(AssemblyName).xml
多谢各位