简体   繁体   中英

Xamarin android references not found

I am trying to open an existing xamarin project for android, and all the references have exclamation marks.

The properties of the project are to compile for Android 9.0 sdk and this is set to automatically download and install.

I get hundreds of errors and even get 'The type or namespace name 'System' could not be found'

I already looked around on the internet and the only accepted solution was to reinstall windows/visual studio. Surely this cannot be right.

Thanks for any insights.

Thanks for the replies!

Finally as Jack Hua suggested I had to use update-package-reinstall to reinstall all the packages.

One package however blocked this operation, and I had to choose a different TargetFrameworkProfile in the project settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM