SHM
SHM

Reputation: 1942

Adding xamarin android controls to visual studio toolbox

I was working with Xamarin Visual studio and suddenly I just deleted some of the controls from Visual Studio toolbox pane in android designer.

I tried adding them using (right click on toolbox/choose items), but I don't know where the assembly of the controls live.

Does anyone know how to add the controls back?

Upvotes: 10

Views: 7666

Answers (4)

Jagadeesh Govindaraj
Jagadeesh Govindaraj

Reputation: 8355

simple fix

Deleting the *.tbd in the following dir on Windows worked for me...

C:\Users[Current user]\AppData\Local\Microsoft\VisualStudio\version of
visual studio\

sometimes the file was hidden so do this.

go to this folder

"C:\Documents and Settings\\Local Settings\Application
Data\Microsoft\VisualStudio\version of visual studio"

that's it. Happy Coding

Upvotes: 9

Yo need to have Android SDK tools and Android SDK platform tools both installed. In my case Android SDK platform tools was not installed for some reason. Got Visual studio-->Tools-->Android-->SDK Maanger and check if both the tools are isnatlled. If not please install both the packages.

Upvotes: 3

Mamdouh
Mamdouh

Reputation: 206

For me deleting *.tbd didn't work. I installed the latest Android SDK + Reinstalled Xamarin for windows did the trick.

Upvotes: 0

Vali Grigoras
Vali Grigoras

Reputation: 21

Also you have to have the latest Android SDK installed. This worked for me.

Upvotes: 2

Related Questions