You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
In our experiments with creating a Xamarin.Android MSBuild project SDK and testing our compatibility with dotnet build, we've ran into the following error in _VerifyXamarinAndroidSupportVersions:
Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
C:\Microsoft\Xamarin\NuGet\xamarin.android.support.annotations\28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Annotations.targets(20,3): error MSB4062: The "Xamarin.Android.Support.BuildTasks.VerifyVersionsTask" task could not be loaded from the assembly C:\Microsoft\Xamarin\NuGet\xamarin.android.support.annotations\28.0.0.3\build\monoandroid90\Xamarin.Android.Support.BuildTasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
The text was updated successfully, but these errors were encountered:
pjcollins
changed the title
Annotations task _VerifyXamarinAndroidSupportVersions is fails when building an Android project with dotnet build
Annotations task _VerifyXamarinAndroidSupportVersions fails with dotnet build
Jan 29, 2020
pjcollins
changed the title
Annotations task _VerifyXamarinAndroidSupportVersions fails with dotnet build
Annotations task VerifyVersionsTask fails with dotnet build
Jan 29, 2020
In our experiments with creating a Xamarin.Android MSBuild project SDK and testing our compatibility with
dotnet build
, we've ran into the following error in_VerifyXamarinAndroidSupportVersions
:If we choose to address this I believe we'll need to switch the MSBuild references in this project over to NuGets, or do something similar to what xamarin-android is doing.
The text was updated successfully, but these errors were encountered: