Error: Your project is not referencing the "MonoAndroid, Version = v8.1" framework

3

After updating Visual Studio to version 15.7.1 the following message began to appear in my ready 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 you create a new project this does not happen, I would like to know how I could solve it, I could not.

I have tried to Clean / Restore Solution and Restore NuGet Packages.

    
asked by anonymous 09.05.2018 / 14:33

1 answer

4

After a lot of testing I solved it like this: I went to Solution Explorer - > Right-click ProjectName. Android - > Properties - > Application - > I selected "Android 8.1 (Oreo)" (Before was "Using the Latest Platform (Android 8.1 (Oreo))"). Follow the pictures to facilitate:

    
09.05.2018 / 18:31