【发布时间】:2019-12-09 15:55:24
【问题描述】:
当我尝试使用 dotnet 构建我的 .csproj 文件时,它会向我抛出一个错误,但是当我在 visual sutido 2019 上构建项目时它可以。
我需要使用 dotnet 构建,因为 azurepiple 工作使用它。
之后,当我将 .csproj 中的路径参数设置为这些时:
<MSBuildExtensionsPath>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild</MSBuildExtensionsPath>
错误变化:
The reference assemblies for MonoAndroid,Version=v1.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
有什么解决办法吗?
【问题讨论】:
标签: c# .net xamarin asp.net-core azure-pipelines