-
Notifications
You must be signed in to change notification settings - Fork 56
VerifyVersionsTask fails when using neither packages.config nor PackageReference #176
Comments
Downgrade your package version 28.0.0.2 to 28.0.0.1, it works for me |
is there an ETA on when this will be fixed? |
This issue is not related to the bugged 28.0.0.2 |
I confirm this issue once I updated to version 9.0 and above |
True. I'm having the same with 28.0.0.1 |
I noticed there's a 28.0.0.3 release. But this isn't available as nuget yet. |
This is very unfortunate as Xamarin.Essentials requires API version 28. |
28.0.0.3 Doesn't help either, I am stuck with my development. It occurs on all the machines that I tried, I have at least 5 packages (Firebase) that require v.9 and hence Andriod 28, I am surprised this issue is open for so long with still no light at the end of the tunnel. |
After landing here from Google after having the same issue, I thought I'd be here to find a solution for the problem. Is this a breaking change in the Support Libraries for Xamarin? Or does it require a specific version of Xamarin.Android to work correctly? Having this issue with Visual Studio 2017. |
There's an easy way to skip this task entirely if it's causing you issues, just put this in your .csproj:
|
Updating all problematic NuGet Packages (in my case Firebase packages) to use the supported 28.0.0.3 version did resolve the issue. |
Xamarin.Android Version (eg: 6.0):
9.0
Operating System & Version (eg: Mac OSX 10.11):
macOS Mojave 10.14.5
Support Libraries Version (eg: 23.3.0):
28.0.0.1
Describe your Issue:
Referencing
Xamarin.Android.Support.Annotations.targets
in a project that doesn't use neitherpackages.config
norPackageReference
(but uses an external package manager such as Paket) fails on theVerifyVersionsTask
.It expects to find
obj/project.assets.json
which doesn't exist.I think the issue is due to this
if
statement that has only 2 cases.AndroidSupportComponents/source/buildtasks/support-annotations/VerifyVersionsTask.cs
Lines 62 to 71 in f2e01b6
Steps to Reproduce (with link to sample solution if possible):
packages.config
file or thePackageReference
nodes from the csprojXamarin.Android.Support.Annotations
(or use Paket for that)Other reproduction:
mono .paket/paket.exe restore
msbuild
Include any relevant Exception Stack traces, build logs, adb logs:
The text was updated successfully, but these errors were encountered: