Lionet Chen
Lionet Chen

Reputation: 842

Xamarin.Android class library missing when create project Visual Studio 2019

I am trying to build a Xamarin native android class library in C# to make some of my customized android widgets available across projects. I was able to do it with VS 2017 like below.

enter image description here

But I was not able to find this kind of project when creating in VS 2019. See the picture below. I can only create Xamarin.Android app but not class libraries.

enter image description here

When I really tried I could even find what I wanted in F#, as shown below. But I don't know F#. I didn't even remember choosing F# when installing VS 2019.

enter image description here

I have to move to VS2019 because my project that refereces ScandIt library cannot compile in VS 2017. But I ran into this problem. I suppose I could create that class library project in VS2017 and then work on it in VS2019 but that feels frustrating. Can anyone tell me what I am missing?

I'm using VS2019 16.9.3 in Windows 10.

Edit: Found another guy with similar problem (he can't find binding library). Not sure if the same patch applies to me. Will just have to wait.

https://developercommunity.visualstudio.com/t/Cannot-find-Xamarin-Android-Binding-Libr/1363176?space=8&q=android+binding&viewtype=all

Upvotes: 2

Views: 1047

Answers (2)

magicandre1981
magicandre1981

Reputation: 28766

The issue is fixed with Update 16.9.4

Added back missing Xamarin templates (iOS/Android Class Library, iOS/Android Bindings Library, Android Wear, Xamarin.UITest) in the New Project dialog. These templates were hidden by mistake.

Upvotes: 1

I Am The Blu
I Am The Blu

Reputation: 863

Not an answer, just want to show you that I can find the library un my VS19.

The simple thing is, I just search for library & it was present over there, after adding the same filters as shown by you, the Library was on the top.

VS19

------------------- EDIT----------------------------

Versions of VS

Old

New

Upvotes: 0

Related Questions