user10828093
user10828093

Reputation:

Referencing Error in Visual Studio while making an Android app

Here is the error being written

/Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet.targets(5,5): Error: Your project is not referencing the "MonoAndroid,Version=v9.0" framework. Add a reference to "MonoAndroid,Version=v9.0" in the "frameworks" section of your project.json, and then re-run NuGet restore. (HTherapy)

Upvotes: 1

Views: 267

Answers (1)

Alexey Shikov
Alexey Shikov

Reputation: 1836

Lookup for package.json file in the solution folder and ensure the framework version there is correct.

For example:

{
  "supports": {},
  "dependencies": {
  },
  "frameworks": {
    "MonoAndroid,Version=v9.0": {}
  }
}

Upvotes: 0

Related Questions