Error: Your project is not referencing the "Monoandroid,Version=V8.1" framework

Asked

Viewed 1,151 times

3

After having upgraded Visual Studio to version 15.7.1 the following message started to appear in my ready-made projects:

Your project is not referencing the "Monoandroid,Version=V8.1" framework. Add a Reference to "Monoandroid,Version=V8.1" in the "frameworks" Section of your project.json, and then re-run Nuget Restore

If I create a new project it does not happen, I would like to know how it could solve, I could not.

I have tried Clean/Restore Solution and Restore Nuget Packages.

1 answer

4


After a lot of tests I solved as follows: I went to the Solution Manager -> Right mouse button in Footname.Android -> Properties -> Application -> I selected the "Android 8.1 (Oreo)" (Before was "Use the Latest Platform (Android 8.1 (Oreo)"). Follow the images to facilitate: inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • 1

    The solution itself may not have been to change Usar a Plataforma Mais Recente (Android 8.1 (Oreo)) for Android 8.1 (Oreo), but the fact that there has been a change in the files referring to the project (archive .csproj) which must have forced updating some other information important to the compiler that is not visible. I understand that it was a bug in the VS update process regarding preexisting projects.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.